
undefined method `instruments=' for #<UserConditions {:primary_genere_id_equals=>1}>
Reported by srijith | February 13th, 2009 @ 02:52 PM
Hi
I am using searchlogic plugin,i am getting following error,if any
one knows please help.
undefined method `instruments=' for #1}>
my controller
class BandSearchesController < ApplicationController
def new @search = Musician.new_search(params[:search]) end end
Musician model is inheriting from user..
def Musician < User
end
Thanks & Regards
Srijith
Comments and changes to this ticket
-
Ben Johnson February 13th, 2009 @ 02:59 PM
- State changed from new to resolved
Your params[:search] has an instruments key that doesnt exist. Inspect the params[:search] hash and see what you get.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Provides common named scopes and object based searching.