ActiveRecord with spatial attributes