diff options
author | Juanito Fatas <katehuang0320@gmail.com> | 2014-09-08 03:29:48 +0800 |
---|---|---|
committer | Juanito Fatas <katehuang0320@gmail.com> | 2014-09-08 03:29:48 +0800 |
commit | 29366cdad7e11cb582602ff8f4342108d66bf235 (patch) | |
tree | 8058226117d3c69f456ba993eee75744b64f3c0d /guides | |
parent | 72e42d2521935600d4eb5a96527133e0a14dbf45 (diff) | |
download | rails-29366cdad7e11cb582602ff8f4342108d66bf235.tar.gz rails-29366cdad7e11cb582602ff8f4342108d66bf235.tar.bz2 rails-29366cdad7e11cb582602ff8f4342108d66bf235.zip |
[ci skip] Fix some typos, normalize sentence.
Follow up of #16722.
https://github.com/rails/rails/pull/16722
also normalize all instance gained methods’ sentence.
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/association_basics.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/guides/source/association_basics.md b/guides/source/association_basics.md index c9e0fcd939..61490ceb54 100644 --- a/guides/source/association_basics.md +++ b/guides/source/association_basics.md @@ -756,7 +756,7 @@ class Order < ActiveRecord::Base end ``` -Each instance of the order model will have these methods: +Each instance of the `Order` model will have these methods: ```ruby customer @@ -1342,16 +1342,16 @@ class Customer < ActiveRecord::Base end ``` -Each instance of the customer model will have these methods: +Each instance of the `Customer` model will have these methods: ```ruby orders(force_reload = false) orders<<(object, ...) orders.delete(object, ...) orders.destroy(object, ...) -orders=objects +orders=(objects) order_ids -order_ids=ids +order_ids=(ids) orders.clear orders.empty? orders.size @@ -1831,16 +1831,16 @@ class Part < ActiveRecord::Base end ``` -Each instance of the part model will have these methods: +Each instance of the `Part` model will have these methods: ```ruby assemblies(force_reload = false) assemblies<<(object, ...) assemblies.delete(object, ...) assemblies.destroy(object, ...) -assemblies=objects +assemblies=(objects) assembly_ids -assembly_ids=ids +assembly_ids=(ids) assemblies.clear assemblies.empty? assemblies.size |