error_messages_for removed in Rails3. #108

Open
byu opened this Issue Jan 18, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@byu

byu commented Jan 18, 2012

_form html templates use the deprecated (and removed) helper: error_messages_for:

generators/oauth_provider/templates/_form.html.erb:<%%= error_messages_for :client_application %>
generators/oauth_provider/templates/_form.html.haml:=error_messages_for :client_application
lib/generators/erb/oauth_provider_templates/_form.html.erb:<%%= error_messages_for :client_application %>
lib/generators/haml/oauth_provider_templates/_form.html.haml:=error_messages_for :client_application

Only tested on a brand new app based on Rails 3.1.3.
This is for the oauth_clients registrations.

@brendannee

This comment has been minimized.

Show comment Hide comment
@brendannee

brendannee Apr 30, 2012

I ran into this issue too - is it worth updating the generator templates using something like this example: http://www.suffix.be/blog/error-messages-for-rails3 ?

I ran into this issue too - is it worth updating the generator templates using something like this example: http://www.suffix.be/blog/error-messages-for-rails3 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment