You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We'd love if this was configurable, or perhaps respected config.autoload_paths. The reasoning is: occasionally in our data migrations, we'll use code in /lib. Some production instances of our app may run the migrations months later, when the underlying code may have changed, and any calls to /lib are therefore potentially unsafe.
Happy to submit a PR here if this sounds appropriate!
The text was updated successfully, but these errors were encountered:
On Feb 1, 2021, at 13:14, steobrien ***@***.***> wrote:
Thanks for your work in creating and maintaining this gem.
Currently, it only warns for app:
https://github.com/testdouble/good-migrations/blob/1921d7dac6f079814d7ecb36bf0a338edb304d2d/tasks/good_migrations.rake#L10
We'd love if this was configurable, or perhaps respected config.autoload_paths. The reasoning is: occasionally in our data migrations, we'll use code in /lib. Some production instances of our app may run the migrations months later, when the underlying code may have changed, and any calls to /lib are therefore potentially unsafe.
Happy to submit a PR here if this sounds appropriate!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Thanks for your work in creating and maintaining this gem.
Currently, it only warns for
app
:good-migrations/tasks/good_migrations.rake
Line 10 in 1921d7d
We'd love if this was configurable, or perhaps respected
config.autoload_paths
. The reasoning is: occasionally in our data migrations, we'll use code in/lib
. Some production instances of our app may run the migrations months later, when the underlying code may have changed, and any calls to/lib
are therefore potentially unsafe.Happy to submit a PR here if this sounds appropriate!
The text was updated successfully, but these errors were encountered: