Search

Resolves both items from Issue #6 
I believe you can move the `order` outside of the `if..else`:

```ruby
if params[:search]
  @food_trucks = FoodTruck.search(params[:search][:query])
else
  @food_trucks = FoodTruck.all
end

@food_trucks = @food_trucks.order(average_rating: :desc)
```

ActiveRecord lets you chain methods together and will generate the SQL at the end when you need it.