Module: StupidSpamProtection
- Defined in:
- lib/stupid_spam_protection.rb,
lib/stupid_spam_protection/version.rb
Constant Summary collapse
- VERSION =
"0.0.2"
Class Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/stupid_spam_protection.rb', line 4 def self.extended(base) base.class_eval do attr_accessible :robot attr_accessor :robot validates :robot, :length => {:maximum => 0} end end |