Displaying 1 result from an estimated 1 matches for "forum_user".
Did you mean:
forum_users
2005 Dec 29
1
Resolving ambiguous columns during a join
...w much I can
bend my existing column names. I have a table Users, and a table
ForumUsers, for which I have a "has_one" relationship - a user has_one
forumuser. When I look at my user records I wish to include some
information from forumuser:
@users = User.find :all, :include => :forum_user, :order => "email" ...
However, both these tables have a "status" column, and I end up getting
ambiguous column reference errors.
Could someone please tell me how and where I can either tell forumuser
not to load up its status field at all (I don''t need it for th...