On 17 October 2010 18:29, Rahul J. <[email protected]> wrote: > Hi Colin, > I don't prefer associations here, coz i'll be having a large list of > questions approx 50) and associated answers(approx. 500), so i don't > want to fetch users record along with all those.
Why not? Note that it will only fetch the user record if you access it. Also 50 is a very small number of records, fetching the user record along with each of those is trivial. Colin -- 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]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

