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

AppGenerator: allow both 'rake' and 'rails' #24122

Merged
merged 1 commit into from
Mar 9, 2016

Conversation

claudiob
Copy link
Member

@claudiob claudiob commented Mar 9, 2016

This commit comes from the comments made by

The idea is that if you type (for example) "rake db:migrate" in an AppGenerator,
then this should actually invoke rake db:migrate on the command line, whereas
if you type "rails_command db:migrate", this should invoke rails db:migrate.

This commit comes from the comments made by @matthewd at https://github.com/rails/rails/pull/23795/files#r54469637
and by @rafaelfranca at https://github.com/rails/rails/pull/23795/files#r54609364

The idea is that if you type (for example) "rake db:migrate" in an AppGenerator,
then this should actually invoke `rake db:migrate` on the command line, whereas
if you type "rails_command db:migrate", this should invoke `rails db:migrate`.
rafaelfranca added a commit that referenced this pull request Mar 9, 2016
AppGenerator: allow both 'rake' and 'rails'
@rafaelfranca rafaelfranca merged commit 20f2727 into rails:master Mar 9, 2016
@kaspth
Copy link
Contributor

kaspth commented Mar 9, 2016

@claudiob claudiob deleted the fix-23795 branch March 10, 2016 01:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants