On Nov 28, 10:56 am, Adam
<adampennycu...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi all,
>
> Is there a way to find the size of an ActiveRecord object on the disk?
> The idea is that a user has a certain amount of disk space allocated
> to them and they can create various objects until they run out of
> space. Is this possible?
>
Sounds like a lot of this will depend on how the database stores the
rows (eg how long are numerical columns etc..., are rows packed
etc...)
Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---