Skip to content

Commit

Permalink
Merge pull request #42114 from adityapandit17/guides_patch
Browse files Browse the repository at this point in the history
Fixed guide example with rails api docs [ci skip]
  • Loading branch information
zzak committed May 2, 2021
2 parents 655463a + 72b62f3 commit bbd6d82
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion guides/source/command_line.md
Expand Up @@ -357,7 +357,7 @@ If you wish to test out some code without changing any data, you can do that by
```bash
$ bin/rails console --sandbox
Loading development environment in sandbox (Rails 5.1.0)
Loading development environment in sandbox (Rails 7.0.0)
Any modifications you make will be rolled back on exit
irb(main):001:0>
```
Expand Down
2 changes: 1 addition & 1 deletion guides/source/debugging_rails_applications.md
Expand Up @@ -722,7 +722,7 @@ Ruby instruction to be executed -- in this case, Active Support's `week` method.
49:
50: # Returns a Duration instance matching the number of weeks provided.
51: #
52: # 2.weeks # => 14 days
52: # 2.weeks # => 2 weeks
53: def weeks
=> 54: ActiveSupport::Duration.weeks(self)
55: end
Expand Down

0 comments on commit bbd6d82

Please sign in to comment.