ActionView::Template Error

All,
I’ve started to get ActionView::TemplateError (undefined method
`errors’ for nil:NilClass) on all forms that have error_message_on.
I’m stumped as this is not ocurring in development but in production
so I can’t reproduce the error locally.

ActionView::TemplateError (undefined method `errors’ for nil:NilClass)
on line #5 of app/views/account/_register_form.rht$
2:
3: Registration
4:


5: <%=error_message_on(:user, :email, 'Email ', ‘’, ‘inputError’)%>
6:

You’ll be logging into netTrader
with this address

7: Email
8: <%= text_field ‘user’, ‘email’, {:maxlength => 200, :size => 30}
%>

/home/2363/data/rubygems/gems/gems/actionpack-1.12.5/lib/action_view/helpers/active_record_helper.rb:88:in

error_message_on' #{RAILS_ROOT}/app/views/account/_register_form.rhtml:5:in _run_rhtml_account__register_form’


Cheers,
Serdar Kilic