Class: ActiveRecord::Reflection::ThroughReflection
- Inherits:
-
Object
- Object
- ActiveRecord::Reflection::ThroughReflection
- Defined in:
- lib/activerecord_reindex/association_reflection.rb
Instance Method Summary collapse
Instance Method Details
#reindex_async? ⇒ Boolean
26 27 28 |
# File 'lib/activerecord_reindex/association_reflection.rb', line 26 def reindex_async? @delegate_reflection..fetch(:reindex, false) == :async end |
#reindex_sync? ⇒ Boolean
22 23 24 |
# File 'lib/activerecord_reindex/association_reflection.rb', line 22 def reindex_sync? @delegate_reflection..fetch(:reindex, false) == true end |