How about looking into named_scope. in your Child model:
named_scope :lost, :conditions => "is_lost = 't'" You can then do this: @user = User.find_by_login(params[:id]) @lost_children = @user.children.lost /franz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---