module Beespew::Model
Public Instance Methods
spam?()
click to toggle source
# File lib/beespew/model.rb, line 11 def spam? send(Beespew.attribute).present? end
Private Instance Methods
beespew_honeypot_must_be_blank()
click to toggle source
# File lib/beespew/model.rb, line 17 def beespew_honeypot_must_be_blank errors.add(:base, 'spam protection in place') if spam? end