Displaying 1 result from an estimated 1 matches for "associated_group".
2006 Jun 29
1
search action/ in different groups
...ages, @users = paginate :users, :include => :groups, :order =>
''lastname'' , :per_page => 10
else # search done
@groups.each {|group|
if params["group#{id}"] == "on" #checbox is
checked
associated_group = Group.find(g.id)
@users << associated_group
}
@users
end
end
end
but every time i put in a search query i get this (now) annoying message
:
undefined method `update'' for "dfasdf":String
even though i have no UPDATE method in the controlle...