Reputation: 15259
I am using Ruby on Rails 3.0.10 and I would like to know whether an ActiveRecord collection (for example that generated by @user.articles
) is lazy loaded or not. That is, I would like to know a "general" way to do that without reading the RoR documentation where it specifies explicitly when an ActiveRecord is lazy loaded.
How can I do that?
Upvotes: 1
Views: 186