Using checkboxes to filter records
问题 I am trying to learn rails from zero programming experience and have an app im trying to make. With much help from people on here, I have an index page of venues which are filterable by which area they belong to via a dropdown menu. I would like to be able to have the same affect but using checkboxes and also being able to select multiple areas to add to the filter. This is what I have so far: Model : class Venue < ActiveRecord::Base belongs_to :user has_many :reviews belongs_to :area scope