-
Notifications
You must be signed in to change notification settings - Fork 143
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
uninitialized constant AbstractController::Rendering in Rails 4.2 #32
Comments
Using branch 4.2 AND reverting bc80415 would fix the problem. |
I think a better fix is requiring in in prototype-rails and not loading the test-case and relying on it's side-effects |
... the revert bc80415 breaks it, with the if Rails.env.test? it works ... so fix is using a sha from before the revert ... or opening a rails issue to make TestCase load Rendering |
|
other options:
|
+1 I'm currently having the same problem. Any chances of rebasing branch 4.2 with current master? Looks like the fix was introduced into master and I'm trying to update from Rails 4.1 to 4.2 so having 4.2 up to day would save me (and everyone else doing it 😄) the fork |
Done |
👍 thank you |
Sorry, so what do we need to do to get rid of this issue with 4.2 and prototype-rails 4.0.0? Thanks. |
In Gemfile: |
Excellent. Thanks! |
WORKED FOR ME |
There's some fixes in master that aren't in the 4.2 branch. Maybe it's time to get things merged back into master now? @rafaelfranca |
Any news on this boring bug please? Luckily, in my case, my tests aren't testing anything which uses Javascript so I "fixed" my issue with the following in my
|
I'm trying to migrate an app that still uses prototype from Rails 4.1 to 4.2.
I'm using Rails 4.2.rc2.
Steps to reproduce:
Throws this error:
The text was updated successfully, but these errors were encountered: