Module: Fcid::UserMethods::InstanceMethods
- Defined in:
- lib/fcid/user_methods.rb
Instance Method Summary collapse
Instance Method Details
#avatar ⇒ Object
13 14 15 |
# File 'lib/fcid/user_methods.rb', line 13 def avatar read_attribute(:avatar).blank? ? "/assets/avatar.gif" : read_attribute(:avatar) end |
#sync ⇒ Object
17 18 19 |
# File 'lib/fcid/user_methods.rb', line 17 def sync self.class.sync id end |