Module: Ecm::Comments::Comment::SpamProtection
- Included in:
- Ecm::Comments::Comment
- Defined in:
- app/models/ecm/comments/comment.rb
Instance Attribute Summary collapse
-
#nickname ⇒ Object
Returns the value of attribute nickname.
Instance Method Summary collapse
Instance Attribute Details
#nickname ⇒ Object
Returns the value of attribute nickname.
58 59 60 |
# File 'app/models/ecm/comments/comment.rb', line 58 def nickname @nickname end |
Instance Method Details
#save ⇒ Object
60 61 62 63 64 65 66 67 |
# File 'app/models/ecm/comments/comment.rb', line 60 def save if nickname.present? valid? return true else super end end |