Changesets can be listed by changeset number.
The Git repository is here.
Changeset 445
Eager loading of the User object associated with the most recent
post in a Forum ought to speed things up, but in this context it
was causing a significant performance issue seen in particular
when trying to fetch the top-level list of forums. Just getting
rid of the eager-load instruction fixes the performance issue.
- Comitted by: rool
- Date: Monday September 02 08:09:37 2013 (over 11 years ago)
Affected files:
rool/rails/beast/trunk/app/models/forum.rb:
prev. | current | |
has_many :posts, :order => 'posts.created_at desc' do | ||
def last | ||
17 | | |
17 | @last_post ||= find(:first) | |
end | ||
end | ||