Class: ActiveRecord::Associations::Preloader
- Inherits:
-
Object
- Object
- ActiveRecord::Associations::Preloader
- Defined in:
- lib/activerecord-spatial/associations/active_record_3.rb,
lib/activerecord-spatial/associations/active_record.rb,
lib/activerecord-spatial/associations/base.rb
Overview
:nodoc:
Defined Under Namespace
Classes: SpatialAssociation
Instance Method Summary collapse
Instance Method Details
#preloader_for_with_spatial(reflection) ⇒ Object
69 70 71 72 73 74 75 |
# File 'lib/activerecord-spatial/associations/base.rb', line 69 def preloader_for_with_spatial(reflection) if reflection.[:relationship] SpatialAssociation else preloader_for_without_spatial(reflection) end end |