diff options
author | Yauheni Dakuka <yauheni.dakuka@gmail.com> | 2017-09-25 15:05:17 +0300 |
---|---|---|
committer | Yauheni Dakuka <yauheni.dakuka@gmail.com> | 2017-09-25 15:08:08 +0300 |
commit | 5657280a628ca52a27df5c35d35049ab27b61ae7 (patch) | |
tree | 8c995575439c12327f9a552fc2ebf585e27adda0 /guides/source/plugins.md | |
parent | 6c199967fc5c32155684b95628751eb1b5098e13 (diff) | |
download | rails-5657280a628ca52a27df5c35d35049ab27b61ae7.tar.gz rails-5657280a628ca52a27df5c35d35049ab27b61ae7.tar.bz2 rails-5657280a628ca52a27df5c35d35049ab27b61ae7.zip |
new missing backquotes [ci skip]
Diffstat (limited to 'guides/source/plugins.md')
-rw-r--r-- | guides/source/plugins.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/plugins.md b/guides/source/plugins.md index b3a7f544f5..5048444cb2 100644 --- a/guides/source/plugins.md +++ b/guides/source/plugins.md @@ -359,7 +359,7 @@ When you run `bin/test`, you should see the tests all pass: ### Add an Instance Method -This plugin will add a method named 'squawk' to any Active Record object that calls 'acts_as_yaffle'. The 'squawk' +This plugin will add a method named 'squawk' to any Active Record object that calls `acts_as_yaffle`. The 'squawk' method will simply set the value of one of the fields in the database. To start out, write a failing test that shows the behavior you'd like: @@ -392,7 +392,7 @@ end ``` Run the test to make sure the last two tests fail with an error that contains "NoMethodError: undefined method `squawk'", -then update 'acts_as_yaffle.rb' to look like this: +then update `acts_as_yaffle.rb` to look like this: ```ruby # yaffle/lib/yaffle/acts_as_yaffle.rb |