Displaying 1 result from an estimated 1 matches for "reverse_geocoded_bi".
Did you mean:
  reverse_geocoded_by
  
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