search for: aliased_users

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

2008 Nov 05
1
ambiguous nested conditions on find
Hi, i''m trying to figure out how to do a query with an ambiguous condition Lets say Comment belongs_to :article and :user, and Article :belongs_to :user How can I find the comments by one user on articles by another user in one query? This doesnt work, but is kind of the idea: Comment.find :all, :conditions => {''users.name'' =>