mirror of https://github.com/rails/rails
Still more CHANGELOG formatting
This commit is contained in:
parent
1f30ec20f1
commit
4b9e874cce
|
@ -54,13 +54,17 @@
|
||||||
|
|
||||||
A new script generator allows you to create such scripts:
|
A new script generator allows you to create such scripts:
|
||||||
|
|
||||||
`bin/rails generate script my_script`
|
```
|
||||||
`bin/rails generate script data/backfill`
|
bin/rails generate script my_script
|
||||||
|
bin/rails generate script data/backfill
|
||||||
|
```
|
||||||
|
|
||||||
You can run the generated script using:
|
You can run the generated script using:
|
||||||
|
|
||||||
`bundle exec ruby script/my_script.rb`
|
```
|
||||||
`bundle exec ruby script/data/backfill.rb`
|
bundle exec ruby script/my_script.rb
|
||||||
|
bundle exec ruby script/data/backfill.rb
|
||||||
|
```
|
||||||
|
|
||||||
*Jerome Dalbert*, *Haroon Ahmed*
|
*Jerome Dalbert*, *Haroon Ahmed*
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue