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
NoMethodError: undefined method `perform' for nil:NilClass #88
Comments
Hey @ziaulrehman40, Strong Migrations is tested against Rails 5.1 (https://travis-ci.org/ankane/strong_migrations), so think something else in your app may be interfering with it. |
|
It was working fine on 4.2 and 5.0, i can check what else ot updated while migrating on 5.1. Though nothing really stands out, but I updated Nothing else i can in my changelog. I can try reverting these gem updates/additions if that helps. |
No, didn't help. I undid all gemfile changes and still same. |
The error doesn't occur in the test suite or a fresh Rails 5.1 app, so all signs point to something in your app. |
Yeah i understand that, but we must hunt it down whatever it is. Just to add,
|
Oh found it... If you look closely, you can see there is no I am not sure how it was even working in older versions... this is confusing. |
Migrations inherit from |
Thankyou @ankane , this approach was what came to my mind when i was investigating, but you were super fast to push a commit. 👍 |
Hi,
We are in process of upgrading a rails
4.2.
app to latest rails version. We successfully upgraded to5.0
and while upgrading to5.1
we are blocked by this error, which seems to be coming fromstrong_migrations
.If i remove
strong_migrations
from the app, everything works.Ruby:
2.6.3
Rails:
5.1.7
Our migration is simple, something like:
Till now, it seems to be nothing related to our code, if it turns out to be, I will report here.
Thanks!
The text was updated successfully, but these errors were encountered: