oauth-plugin icon indicating copy to clipboard operation
oauth-plugin copied to clipboard

error_messages_for removed in Rails3.

Open byu opened this issue 13 years ago • 1 comments

_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.

byu avatar Jan 18 '12 01:01 byu

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 ?

brendannee avatar Apr 30 '12 17:04 brendannee