Displaying 1 result from an estimated 1 matches for "acts_as_follower".
2010 Aug 29
4
Wrong class being returned in association
I''m using Rails 3.0.0rc and have the following models:
class User
has_many :readings
has_many :conversations, :through=>:readings
end
class Reading
belongs_to :user
belongs_to :conversation
end
class Conversation
has_many :readings
has_many :users, :through=>:readings
end
and this controller code:
class ConversationsController
def show
@user =