Adding a Basic Search Form in Rails

Step 1: Set Up Your Rails App

Step 2: (M) Add Method to Model

Step 3: [C] Call on Method in Controller

Step 4: Permit Search Parameter in Strong Params

Step 5: [V] Add Search Form to Index Page

Step 6: Test Out the Search

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store