Class: Comment
- Inherits:
-
ActiveResource::Base
- Object
- ActiveResource::Base
- Comment
- Includes:
- Gravtastic
- Defined in:
- app/models/comment.rb
Instance Method Summary collapse
Instance Method Details
#user_email ⇒ Object
18 19 20 21 22 23 24 |
# File 'app/models/comment.rb', line 18 def user_email if commenter_id commenter.email else super end end |
#user_name ⇒ Object
10 11 12 13 14 15 16 |
# File 'app/models/comment.rb', line 10 def user_name if commenter_id commenter.username else super end end |