Skip to content

Commit

Permalink
Update the "getting started" guide to Rails 6.1
Browse files Browse the repository at this point in the history
This hopefully will reduce confusion for developers who use the
current Rails version.

[ci skip]
  • Loading branch information
oliverklee committed Apr 14, 2021
1 parent 2bbb519 commit 36b7008
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions guides/source/getting_started.md
Expand Up @@ -160,7 +160,7 @@ run the following:
$ rails --version
```

If it says something like "Rails 6.0.0", you are ready to continue.
If it says something like "Rails 6.1.0", you are ready to continue.

### Creating the Blog Application

Expand Down Expand Up @@ -419,7 +419,7 @@ database-agnostic.
Let's take a look at the contents of our new migration file:

```ruby
class CreateArticles < ActiveRecord::Migration[6.0]
class CreateArticles < ActiveRecord::Migration[6.1]
def change
create_table :articles do |t|
t.string :title
Expand Down Expand Up @@ -480,7 +480,7 @@ $ bin/rails console
You should see an `irb` prompt like:

```irb
Loading development environment (Rails 6.0.2.1)
Loading development environment (Rails 6.1.0)
irb(main):001:0>
```

Expand Down Expand Up @@ -1358,7 +1358,7 @@ In addition to the model, Rails has also made a migration to create the
corresponding database table:

```ruby
class CreateComments < ActiveRecord::Migration[6.0]
class CreateComments < ActiveRecord::Migration[6.1]
def change
create_table :comments do |t|
t.string :commenter
Expand Down

0 comments on commit 36b7008

Please sign in to comment.