Module: SelectableAttrRails::DbLoadable::Entry
- Defined in:
- lib/selectable_attr_rails/db_loadable.rb
Instance Attribute Summary collapse
-
#name_from_db ⇒ Object
Returns the value of attribute name_from_db.
Instance Method Summary collapse
Instance Attribute Details
#name_from_db ⇒ Object
Returns the value of attribute name_from_db.
12 13 14 |
# File 'lib/selectable_attr_rails/db_loadable.rb', line 12 def name_from_db @name_from_db end |
Instance Method Details
#name ⇒ Object
13 14 15 |
# File 'lib/selectable_attr_rails/db_loadable.rb', line 13 def name @name_from_db || super end |