geokit / geokit-rails

Official Geokit plugin for Rails/ActiveRecord. Provides location-based goodness for your Rails app. Requires the Geokit gem.
MIT License
1.57k stars 245 forks source link

NoMethodError: undefined method `acts_as_mappable' #93

Open timlentse opened 8 years ago

timlentse commented 8 years ago

If I use geokit-rails only in activerecord (not rails), i will meet NoMethodError: undefined methodacts_as_mappable' error. Which i totally don't know why? What i expects is just to usegeokit-rails` in no-rails projects(which use activerecord to handle data of mysql), and i just want to enable activerecord has the ability to find by geo. Do i have misunderstanding of this gem? Any suggestion will be appreciated!