aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-09-25 23:12:35 +0900
committerGitHub <noreply@github.com>2017-09-25 23:12:35 +0900
commit9befc197f926272abbba5a1ca1323ce4f15ebd10 (patch)
treea86f383bf091ee1ce95492f8aedb302631fc36ad /guides
parent70656c44530eb6826b454576c3beb16a91c7cb0f (diff)
parent5657280a628ca52a27df5c35d35049ab27b61ae7 (diff)
downloadrails-9befc197f926272abbba5a1ca1323ce4f15ebd10.tar.gz
rails-9befc197f926272abbba5a1ca1323ce4f15ebd10.tar.bz2
rails-9befc197f926272abbba5a1ca1323ce4f15ebd10.zip
Merge pull request #30704 from ydakuka/new-fixes
New missing backquotes [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/engines.md2
-rw-r--r--guides/source/plugins.md4
2 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index c7331b6ca4..343c224a7c 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -1322,7 +1322,7 @@ engine.
Assets within an engine work in an identical way to a full application. Because
the engine class inherits from `Rails::Engine`, the application will know to
-look up assets in the engine's 'app/assets' and 'lib/assets' directories.
+look up assets in the engine's `app/assets` and `lib/assets` directories.
Like all of the other components of an engine, the assets should be namespaced.
This means that if you have an asset called `style.css`, it should be placed at
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