lib/invisible_captcha/validator.rb in invisible_captcha-0.1.3 vs lib/invisible_captcha/validator.rb in invisible_captcha-0.2.0

- old
+ new

@@ -9,10 +9,11 @@ record.errors[:base] = "YOU ARE A ROBOT!!" end end private - def robot_presence? object, attribute + + def robot_presence?(object, attribute) object.send(attribute).present? end end end \ No newline at end of file