Cam Caine
Developer · Not a member
Cam Caine's latest activity
Wednesday, March 10 2010
4078
field_error_proc 'error_message undefined method' in rails 3.pre
was updated
in Ruby on Rails
-
- Tag set to actionview
I think if you try adding .html_safe on the string output it works, but I am more concerned with getting what was instance.error_message but now errors.on is []...
Monday, March 01 2010
4078
field_error_proc 'error_message undefined method' in rails 3.pre
was created
in Ruby on Rails
-
Cam Caine created the ticket at 3:35 PMI am trying to override the field_error_proc:
ActionView::Base.field_error_proc = Proc.new do |html, instance|
%(#{html} #{instance.error_message}) endbut it t...