Class: User
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- User
- Includes:
- ActionView::Helpers::AutoTagHelper::FormInfo, ActiveRecord::Mlang
- Defined in:
- app/models/user.rb
Instance Method Summary collapse
Instance Method Details
#__display__ ⇒ Object
9 10 11 |
# File 'app/models/user.rb', line 9 def __display__ self.text(self.lang_id).try(:__display__) || self.email end |