Y
Hacker News
new
|
ask
|
show
|
jobs
by
toasterlovin
2393 days ago
Do you have something specific in mind? From my understanding of ActiveRecord, most of the method generation should happen the first time the class is defined.
1 comments
viraptor
2393 days ago
Closer to the first time it's used. Schema gets queried and methods get added the moment you do the first query on the model normally.
link
mperham
2393 days ago
This is not true in production, where eager loading is always on.
link