I have models
and I want to search a particular airport through this association
scope :search_airport, where(:name => name, :city => city, :country =>
clearly this does not work
Could anyone show me how to set up a scope through association?
the input maybe only airport name, or airport name with city, or airport
name with city and country name.