Skip to content

Commit

Permalink
Updated the rails version in 7.0 to 7.1 in guide [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
akhilgkrishnan committed Oct 11, 2023
1 parent af1c065 commit 72fae17
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions guides/source/command_line.md
Expand Up @@ -181,7 +181,7 @@ With no further work, `bin/rails server` will run our new shiny Rails app:
$ cd my_app
$ bin/rails server
=> Booting Puma
=> Rails 7.0.0 application starting in development
=> Rails 7.1.0 application starting in development
=> Run `bin/rails server --help` for more startup options
Puma starting in single mode...
* Version 3.12.1 (ruby 2.5.7-p206), codename: Llamas in Pajamas
Expand Down Expand Up @@ -507,7 +507,7 @@ $ bin/rails destroy model Oops
```bash
$ bin/rails about
About your application's environment
Rails version 7.0.0
Rails version 7.1.0
Ruby version 2.7.0 (x86_64-linux)
RubyGems version 2.7.3
Rack version 2.0.4
Expand Down
9 changes: 5 additions & 4 deletions guides/source/getting_started.md
Expand Up @@ -132,9 +132,10 @@ run the following in a new terminal:

```bash
$ rails --version
Rails 7.1.0
```

If it says something like "Rails 7.0.0", you are ready to continue.
If it says something like "Rails 7.1.0", you are ready to continue.

### Creating the Blog Application

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

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

```irb
Loading development environment (Rails 7.0.0)
Loading development environment (Rails 7.1.0)
irb(main):001:0>
```

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

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

0 comments on commit 72fae17

Please sign in to comment.