Registry / orm / rgeo-activerecord

rgeo-activerecord

JSON →
library8.1.0rbrubygemsunverified

An optional RGeo module providing spatial extensions to ActiveRecord and common tools for RGeo-based spatial adapters.

gem install rgeo-activerecord
INSTALL
IMPORT
SIG · RGEO-ACTIVERECORD
R
rgeo-activerecord
ormrubyv8.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

RGeo::ActiveRecord
require 'rgeo/active_record'

Set up a spatial factory for an ActiveRecord model column.

require 'rgeo/active_record' class MyModel < ActiveRecord::Base self.table_name = 'my_table' set_rgeo_factory_for_column(:location, RGeo::Geographic.spherical_factory(srid: 4326)) end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
8.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
Resources
rgeo-activerecord — gem install rgeo-activerecord · libregistry