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?
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.