class ActiveRecord::Reflection::ThroughReflection

Public Instance Methods

reindex_async?() click to toggle source
# File lib/activerecord_reindex/association_reflection.rb, line 26
def reindex_async?
  @delegate_reflection.options.fetch(:reindex, false) == :async
end
reindex_sync?() click to toggle source
# File lib/activerecord_reindex/association_reflection.rb, line 22
def reindex_sync?
  @delegate_reflection.options.fetch(:reindex, false) == true
end