Feedback

You could make this search more flexible by using the `%` wildcard.

For instance, the following query will still match a contact with a first name of "Andrew" because prefixing the query with the wildcard will allow other characters to appear before the query:

```ruby
@search = "%drew"
@contacts = Contact.where("first_name ILIKE ? or last_name ILIKE ?", @search, @search)
```

If you put the wildcard on both sides then it will also allow any characters to come after the query:

```ruby
@search = "%dre%"
@contacts = Contact.where("first_name ILIKE ? or last_name ILIKE ?", @search, @search)
```

In this case it would look like:

```ruby
@search = "%#{params[:search_results]}%"
@contacts = Contact.where("first_name ILIKE ? or last_name ILIKE ?", @search, @search)
```