christian wrote:
> I combined the two using this;
> 
> @prose = Submission.find(:all, :include => [:comments, :genre], 
> :conditions => ["genres.name <http://genres.name> = ? and 
> comments.owner_id != ?", "Prose", "@user.comments"])

are you looking for comments.owner_id !=?", "Prose", @user.id)

The easiest way to figure stuff like this is to use script/console 
rather than constantly reloading web pages, IMO.

Bryan

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to