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 to
On 26 June 2013 16:01, cornelius wilson li...@ruby-forum.com wrote:
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])
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
3 matches
Mail list logo