Method: FormKeeper::Report#message
- Defined in:
- lib/formkeeper.rb
#message(action, name, constraint) ⇒ Object
503 504 505 506 507 508 509 |
# File 'lib/formkeeper.rb', line 503 def (action, name, constraint) if @failed_records.has_key?(name.to_sym) and @failed_records[name.to_sym].failed_by?(constraint) @messages.get(action, name, constraint) else nil end end |