ga-dc / wdi5-project3

Project 3
0 stars 5 forks source link

I want to be able to save search data to a new database #55

Closed Tuzibun closed 9 years ago

Tuzibun commented 9 years ago

I created a model for searches, but I'm not sure how to collect the search data and also run the search at the same time... Probably just need some help with the logic... I hope

mattscilipoti commented 9 years ago

I expect that you want to you want to change the controller action to create a Search and then perform the search and process regularly.

jrhorn424 commented 9 years ago

Yes, seems like you just need a form. Forms are we send data to the server. Then the controller action that receives the form will process the search and redirect to a results page with the appropriate data (instance variable) available to the results template.

mattscilipoti commented 9 years ago

Solved at genius bar. She realized that she didn't need to save the searches. We added filters to narrators#index.