On Nov 27, 9:47 am, "Mohnish J." <li...@ruby-forum.com> wrote: > Frederick Cheung wrote in post #1033844:
> This worked like magic..:). I would like to deep dive into how exactly > active record is dealing with storing such queries...processing them... > Rails Guides was my one stop ref but , I couldn't find trace for more > examples dealing with such requirements...Where can I find more info on > this ...? > > I tried a users.inspect, it gave me no trace of a 'total' attribute.. > which data structure is being generated and used to store the result of > this Rails query..?? Based on your answer.. > inspect is hardcoded to only display columns from the actual table. All the attributes are stored int the attributes hash of the active record object. Fred > Thanks again for your help... > > -- > Posted viahttp://www.ruby-forum.com/. -- 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@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.