Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error_messages_for removed in Rails3. #108

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

error_messages_for removed in Rails3. #108

byu opened this issue Jan 18, 2012 · 1 comment

Comments

@byu
Copy link

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
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants