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
I believe this change: f173ec7#diff-5036eb99239f9418c0458f2a2ec4f496R228
introduced a regression whereby RAILS_ENV=test is added as an argument to the generator. This is only apparent if the generator uses arguments. One generator that does so is the devise generator. See heartcombo/devise#5007
Expected behavior
It should not pass RAILS_ENV as an argument to the generator
Actual behavior
it is passing RAILS_ENV as an agrument
System configuration
Rails version: 6.0.0.beta1
Ruby version: 2.6.0
The text was updated successfully, but these errors were encountered:
In the case of generator, `RAILS_ENV` is interpreted as an argument as it
is. Avoid this because it will result unintended by the user.
Fixesrails#34979.
Steps to reproduce
I believe this change: f173ec7#diff-5036eb99239f9418c0458f2a2ec4f496R228
introduced a regression whereby
RAILS_ENV=test
is added as an argument to the generator. This is only apparent if the generator uses arguments. One generator that does so is thedevise
generator. See heartcombo/devise#5007Expected behavior
It should not pass RAILS_ENV as an argument to the generator
Actual behavior
it is passing RAILS_ENV as an agrument
System configuration
Rails version: 6.0.0.beta1
Ruby version: 2.6.0
The text was updated successfully, but these errors were encountered: