[Rails] Re: Re: [HELP] Couldn't find Search with id= from controller

2013-06-28 Thread cornelius wilson
Colin Law wrote in post #1113657: On 26 June 2013 16:01, cornelius wilson li...@ruby-forum.com wrote: Colin How would I be able to reverse it so that it searches for the term as oppose to the numeric id of the search options. As I would like for it to be able to search all things on a user

[Rails] Re: [HELP] Couldn't find Search with id= from controller

2013-06-26 Thread cornelius wilson
Colin Law wrote in post #1113571: On 24 June 2013 20:05, cornelius wilson li...@ruby-forum.com wrote: id=kids. It points to the searches controller for the following line: def index @search = Search.find(params[:search]) find expects a numeric id value, presumable params[:search] is set

[Rails] Re: [HELP] Couldn't find Search with id= from controller

2013-06-25 Thread cornelius wilson
I have it as a model to save all the searches to database. Originally I thought it would be good to have information on what users are searching for on a dating app, though I have back away from this in recent weeks. I just haven't removed it as I don't want to break the app. Searches table

[Rails] [HELP] Couldn't find Search with id= from controller

2013-06-24 Thread cornelius wilson
I have been working on the search form for my app. The advanced search works fine, however I am unable to get the regular search form to work. It should be able to search the entire user database, and I should be able to string keywords together. For example if I search the term no kids it should