Run rails new --help
to see all of the options you can use to create a new Rails application:
Output for Rails 8+
Usage:
rails COMMAND [options]
You must specify a command:
Run rails new --help
to see all of the options you can use to create a new Rails application:
Output for Rails 8+
Usage:
rails COMMAND [options]
You must specify a command:
s/\([^.a-zA-Z_-]\)stub\>/\1double/g | |
s/\([^.a-zA-Z_-]\)mock\>/\1double/g | |
s/\.returns\>/.and_return/g | |
s/\.yields\>/.and_yield/g | |
s/\(\S\+\)\.stubs(/allow(\1).to receive(/g | |
s/\(\S\+\)\.expects(/expect(\1).to receive(/g | |
s/at_least_once/at_least(:once)/g | |
s/at_most_once/at_most(:once)/g | |
s/\.raises\>/.and_raise/g | |
s/\(allow\|expect\)(\(\S\+\)\.any_instance).to receive/\1_any_instance_of(\2).to receive/g |