title: I want to get all venues where list of amenities belongs to that venue in rails
body: <p>I really don't have an Idea how to query to get all the specific venues where list of amenities check by the user belongs to that venues.</p>
  
  <p>Example. I have a list of checkbox where the amenities displayed and If I check the swimming pool, billiard pool, gym, and disco house It will display the list of venue that belongs to that amenities.</p>
  
  <p>My association is like this:</p>
  
  <p>Model</p>
  
  <pre><code>venue
  categorization
  amenity
  </code></pre>
  
  <p>Association</p>
  
  <pre><code>Venue.rb
  
  has_many :categorizations
  has_many :amenities, through: :categorizations
  
  Amenity.rb
  
  has_many :categorizations
  has_many :venues, through: :categorizations
  
  Categorization.rb
  
  belongs_to :venue
  belongs_to :amenity
  </code></pre>