[ci skip] Remove reference to legacy Rails 2.x command

This commit is contained in:
Matt Duszynski 2019-10-14 17:20:01 -07:00
parent 0ab5206799
commit 8f554a76ba
1 changed files with 2 additions and 2 deletions

View File

@ -235,10 +235,10 @@ CODE
### yes?(question) or no?(question)
These methods let you ask questions from templates and decide the flow based on the user's answer. Let's say you want to Freeze Rails only if the user wants to:
These methods let you ask questions from templates and decide the flow based on the user's answer. Let's say you want to prompt the user to run migrations:
```ruby
rails_command("rails:freeze:gems") if yes?("Freeze rails gems?")
rails_command("db:migrate") if yes?("Run database migrations?")
# no?(question) acts just the opposite.
```