Skip to content

Commit bd8cd43

Browse files
author
Rad
committed
Rails
1 parent d9d00bf commit bd8cd43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

RubyOnRails/cmd.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
> All commands can run with -h or --help to list more information.
1515
16-
#####rails new
16+
####rails new
1717

1818
The first thing we'll want to do is create a new Rails application by running the rails new command after installing Rails.
1919

@@ -32,13 +32,13 @@ $ rails new commandsapp
3232
run bundle install
3333
```
3434

35-
#####rails server
35+
####rails server
3636

3737
The rails server command launches a small web server named WEBrick which comes bundled with Ruby. You'll use this any time you want to access your application through a web browser.
3838

3939
> You can also use the alias "s" to start the server: rails s.
4040
41-
#####rails generate
41+
####rails generate
4242

4343
The rails generate command uses templates to create a whole lot of things. Running rails generate by itself gives a list of available generators:
4444

@@ -61,7 +61,7 @@ Rails:
6161
...
6262
```
6363

64-
#####rails console
64+
####rails console
6565

6666
The console command lets you interact with your Rails application from the command line. On the underside, rails console uses IRB, so if you've ever used it, you'll be right at home. This is useful for testing out quick ideas with code and changing data server-side without touching the website.
6767

0 commit comments

Comments
 (0)