Module: ActsAsFerret::WithoutAR::InstanceMethods

Defined in:
lib/acts_as_ferret/without_ar.rb

Instance Method Summary collapse

Instance Method Details

#loggerObject



43
44
45
# File 'lib/acts_as_ferret/without_ar.rb', line 43

def logger
  self.class.logger
end

#new_record?Boolean

Returns:

  • (Boolean)


46
47
48
# File 'lib/acts_as_ferret/without_ar.rb', line 46

def new_record?
  false
end