{"repo":"seuros/activerecord-postgis","free":true,"listed":false,"github":"https://github.com/seuros/activerecord-postgis","clone":"git clone https://github.com/seuros/activerecord-postgis.git","description":"PostGIS extension for ActiveRecord's PostgreSQL adapter. Adds spatial types and queries to Rails 8+ with zero configuration.","language":"Ruby","stars":33,"topics":["activerecord","geospatial","gis","postgis","postgresql","rails","rails8","rgeo","ruby","spatial"],"license":"MIT","category":"databases-storage","readme_excerpt":"ActiveRecord::PostGIS The next-generation PostGIS adapter for Rails - clean, modern, and built for the future. Why This Gem? This is the next-generation PostGIS adapter that brings PostGIS support to Rails the right way: - Use standard postgres:// URLs - No custom adapter names, no special configuration - No monkey patching - Clean extensions using Rails 8.1 patterns - No obscure hacks - Transparent, well-documented implementation - Latest APIs - Built for Rails 8.1+ and Ruby 3.3+ - Zero configuration - Just add the gem and it works Unlike legacy PostGIS adapters that require custom database URLs, special configurations, and complex setup, this gem extends the existing PostgreSQL adapter seamlessly. Your database configuration stays clean and standard. Installation Add this line to your application's Gemfile: And then execute: Or install it yourself as: Configuration Zero configuration required! Just use your standard PostgreSQL database configuration: Usage Migrations Create spatial columns using PostGIS types: Spatial Queries With RGeo Objects (Recommended): With Arel Spatial Methods (Now with expanded arsenal!): With WKT Strings : Model Integration Testing When testing spatial functionality in your Rails application, this gem provides helpful test utilities: Test Helper Methods Available Test Helpers: Traditional Assertions: - assert spatial equal(expected, actual) - Assert spatial objects are equal - assert within distance(point1, point2, distance) - Assert points within ","default_branch":null,"files":null,"tree":[],"storefront":"/r/seuros","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/seuros/activerecord-postgis/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}