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

Bug error_span in template #913

Open
dzmitrys-dev opened this issue Jul 4, 2016 · 2 comments
Open

Bug error_span in template #913

dzmitrys-dev opened this issue Jul 4, 2016 · 2 comments

Comments

@dzmitrys-dev
Copy link

http://stackoverflow.com/questions/26245222/undefined-method-error-span-rails-project/36120983#36120983

@dzmitrys-dev
Copy link
Author

Removing all error_span occurrences in forms seems like a temp fix

@zerimar
Copy link

zerimar commented Mar 24, 2017

Another workaround, if you don't want to remove error_span in forms is to add two files:
app/helpers/form_helper_extension.rb

module FormHelperExtension
include FormErrorsHelper
end

app/config/initializers/form_helper_init.rb
ActionView::Helpers::FormHelper.extend FormHelperExtension

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