search for: searchlocation

Displaying 1 result from an estimated 1 matches for "searchlocation".

2012 Jul 21
0
undefined method `scope' for non ActiveRecord class
I am trying to use the geocoding capabilities into a table less model , but the method :scope is not defined .. is there a way to include it ? class SearchLocation require ''geocoder'' include ActiveModel::Validations include ActiveModel::Conversion extend ActiveModel::Naming extend Geocoder::Model::ActiveRecord # extending the class w geocoding capaibilities ( from geocoder) geocoded_by :address reverse_geocoded_by :latitude,...