I have two models:
guest belongs_to rsvp and rsvp has_one guest
When I try the following I get an error:
@coming = Guest.find(:all, :conditions => ["coming = ?",
true], :include => :rsvp)
It complains of an unknown column 'coming'
I'm sure I'm doing something stupid but I can't see it. Any help
would be appreciated.