Hello all, given the following models and console log: https://gist.github.com/3735116
I do not understand why the latter statements (o.order_items and o.total) yield sql queries. Have I missed something in AR documentation? What should be done to get rid of redundant sql queries? -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/tMZF4jbjC7oJ. For more options, visit https://groups.google.com/groups/opt_out.

