Module: Ekylibre::Record

Defined in:
lib/ekylibre/record/bookkeep.rb,
lib/ekylibre/record.rb,
lib/ekylibre/record/sums.rb,
lib/ekylibre/record/base.rb,
lib/ekylibre/record/autosave.rb,
lib/ekylibre/record/has_shape.rb,
lib/ekylibre/record/dependents.rb,
lib/ekylibre/record/acts/numbered.rb,
lib/ekylibre/record/acts/protected.rb,
lib/ekylibre/record/acts/affairable.rb,
lib/ekylibre/record/acts/reconcilable.rb,
lib/ekylibre/record/selects_among_all.rb

Overview

:nodoc:

Defined Under Namespace

Modules: Acts, Autosave, Bookkeep, Dependents, HasShape, SelectsAmongAll, Sums Classes: Base, RecordNotCreateable, RecordNotDestroyable, RecordNotUpdateable, Scope

Class Method Summary collapse

Class Method Details

.human_name(model) ⇒ Object


5
6
7
# File 'lib/ekylibre/record.rb', line 5

def self.human_name(model)
  ::I18n.t("activerecord.models.#{model}")
end