Always Include Associations

M

Murdoc

Hi All,

This is probably really simple, but I couldn't find a solution anywhere.

Is there a mechanism in Ruby/Rails whereby I can tell a class to always pre-load the associations for it (rather than specifying :include ... for every occurance)?

--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,214
Messages
2,571,112
Members
47,704
Latest member
DavidSuita

Latest Threads

Top