search for: construct_association

Displaying 1 result from an estimated 1 matches for "construct_association".

2006 Oct 08
1
Two-way eager loading?
My problem is that I have two classes where the eager loading isn''t working as well as I would hope... Here are my two classes: class Daynote < ActiveRecord::Base belongs_to :userplace class Userplace < ActiveRecord::Base has_many :daynote, :dependent => true When I show my userplaces, I want to get the associated daynotes with them, so I am doing: @userplace =