Module: Authlogic::Session::ActiveRecordTrickery::ClassMethods
- Defined in:
- lib/authlogic/session/active_record_trickery.rb
Instance Method Summary collapse
- #human_attribute_name(*args) ⇒ Object
- #human_name(*args) ⇒ Object
-
#self_and_descendants_from_active_record ⇒ Object
For Rails >2.3, fix mispelling.
-
#self_and_descendents_from_active_record ⇒ Object
For rails < 2.3, mispelled.
Instance Method Details
#human_attribute_name(*args) ⇒ Object
14 15 16 |
# File 'lib/authlogic/session/active_record_trickery.rb', line 14 def human_attribute_name(*args) klass.human_attribute_name(*args) end |
#human_name(*args) ⇒ Object
18 19 20 |
# File 'lib/authlogic/session/active_record_trickery.rb', line 18 def human_name(*args) klass.human_name(*args) end |
#self_and_descendants_from_active_record ⇒ Object
For Rails >2.3, fix mispelling
28 29 30 |
# File 'lib/authlogic/session/active_record_trickery.rb', line 28 def self_and_descendants_from_active_record [self] end |
#self_and_descendents_from_active_record ⇒ Object
For rails < 2.3, mispelled
23 24 25 |
# File 'lib/authlogic/session/active_record_trickery.rb', line 23 def self_and_descendents_from_active_record [self] end |