class ActiveRecord::Reflection::AssociationReflection

Public Instance Methods

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