Im in love with meta_search, a great gem but i have a question: when using it in controllers wich has the same name as the model (Photo => PhotosController) it workes like a charm. But i have a PeoplesController for handling accounts, profiles etc - and if i try to use it there i get an error of:
NoMethodError in Peoples#index Showing /index.html.erb where line #33 raised: undefined method `screen_name_contains' for #<ActiveRecord::Relation: 0x10676f2a8> Controller: def index @search = Account.search(params[:search]) @users = @search.where(:status => "active").page(params[:page]).per(24) end Any advice ? -- 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 rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.