I have a two table in relation with has_many assocation on theirselves.
How can i call has_many table with where condition?
When i call like "$news -> findNewsComment();" i get Comments. but i want specific comments, like just approved comments.
is it possible something like $news -> findNewsComment(array('state_id = ?' => '10'));