search form in layout

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

search form in layout

fugee ohu
I put a search form in my layout where the search field is named "terms" but then I get an unpermitted parameters for 'term' Do I need to declare term as an attr_accessor and use the :user in strong params in my world controller because I'm searching the User model

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/8704a48b-9177-4a24-9b3b-c0073fa22168%40googlegroups.com.