hi,
have a JOB-model, which belongs_to a variety of other models, eg:
Industry, Category etc...
i have:
hi,
have a JOB-model, which belongs_to a variety of other models, eg:
Industry, Category etc...
i have:
am i better of with that ?(from the api):
Post.find(:all, :include => [ :author, :comments ], :conditions =>
['comments.approved = ?', true])
can i add as many conditions as i want to the individual associations?
thx
Check out the searchlogic gem, it will make your life way easier on
this.
Jarin Udom
Robot Mode LLC