Class: ActiveRecord::Reflection::AssociationReflection
- Inherits:
-
MacroReflection
- Object
- MacroReflection
- ActiveRecord::Reflection::AssociationReflection
- Defined in:
- lib/activerecord-spatial/associations/base.rb
Overview
:nodoc:
Instance Method Summary collapse
Instance Method Details
#association_class_with_spatial ⇒ Object
82 83 84 85 86 87 88 |
# File 'lib/activerecord-spatial/associations/base.rb', line 82 def association_class_with_spatial if self.[:relationship] Associations::SpatialAssociation else association_class_without_spatial end end |