From 72b62f392e57bfbb9f7bd1cc8cd83d1c31847ff1 Mon Sep 17 00:00:00 2001 From: Aditya Pandit Date: Sat, 1 May 2021 13:18:06 +0530 Subject: [PATCH] Matched guide example with rails api docs [ci skip] --- guides/source/command_line.md | 2 +- guides/source/debugging_rails_applications.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/source/command_line.md b/guides/source/command_line.md index bc6dbbaffe..22cc154cd8 100644 --- a/guides/source/command_line.md +++ b/guides/source/command_line.md @@ -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> ``` diff --git a/guides/source/debugging_rails_applications.md b/guides/source/debugging_rails_applications.md index a55157089d..d26f25bdbf 100644 --- a/guides/source/debugging_rails_applications.md +++ b/guides/source/debugging_rails_applications.md @@ -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