#52 ✓resolved

undefined method `instruments=' for #<UserConditions {:primary_genere_id_equals=>1}>

Reported by srijith | February 13th, 2009 @ 02:52 PM

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

Thanks & Regards

Comments and changes to this ticket

  • Ben Johnson

    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.

New-ticket Create new ticket

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.

People watching this ticket