oauth-plugin
oauth-plugin copied to clipboard
error_messages_for removed in Rails3.
_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.
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 ?