Module: ActiveRecord::ConnectionAdapters::PostGIS::Quoting
- Included in:
- ActiveRecord::ConnectionAdapters::PostGISAdapter
- Defined in:
- lib/active_record/connection_adapters/postgis/quoting.rb
Instance Method Summary collapse
Instance Method Details
#type_cast(value) ⇒ Object
7 8 9 10 11 12 13 14 |
# File 'lib/active_record/connection_adapters/postgis/quoting.rb', line 7 def type_cast(value) case value when RGeo::Feature::Instance value.to_s else super end end |