Problem with conditional search using AAF plugin

Hi All,
I am very new to using acts_as_ferret plugin. I am having
problems with searching the database with conditions using ferret
plugin.

In my model I have the following code in my model

acts_as_ferret :fields => {:owner => {},
:ticker_symbol => {},
:topic => {},
:competition => {},
:vision => {},
:business_area_lookup_value => {},
:business_impact_lookup_value => {}
}

In search controller, I have

Idea.find_by_contents(""+params[:keyword]+"", { :conditions => [‘owner
= ?’, params[‘owner’]]})
this gives the same results for any params[:owner]. where am i going
wrong? Any help appreciated…

thanks and regards,
venkat

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs