diff options
author | Gabi Stefanini <gabriela.stefanini@shopify.com> | 2016-12-06 22:01:35 -0500 |
---|---|---|
committer | Gabi Stefanini <gabriela.stefanini@shopify.com> | 2016-12-06 22:36:49 -0500 |
commit | f3d0762d6caad1d5bdcd2df1df1aba869e47f0b0 (patch) | |
tree | ce74cf5921745cb5e470a69b850b119ed7c763bb | |
parent | 09b2e29fc602cedce6dc856ffeb5f8521c089aa5 (diff) | |
download | rails-f3d0762d6caad1d5bdcd2df1df1aba869e47f0b0.tar.gz rails-f3d0762d6caad1d5bdcd2df1df1aba869e47f0b0.tar.bz2 rails-f3d0762d6caad1d5bdcd2df1df1aba869e47f0b0.zip |
Fixes API wording to match API conventions
In ActiveModel::Model API documentation, referrences to Rails
components were tagged with fixed-width font and named as if
they were modules.This fixes the inconsistency to match API
documentation conventions.
[ci skip]
-rw-r--r-- | activemodel/lib/active_model/model.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/model.rb b/activemodel/lib/active_model/model.rb index e683050787..9503db5dc0 100644 --- a/activemodel/lib/active_model/model.rb +++ b/activemodel/lib/active_model/model.rb @@ -2,10 +2,10 @@ module ActiveModel # == Active \Model \Basic \Model # # Includes the required interface for an object to interact with - # <tt>ActionPack</tt>, using different <tt>ActiveModel</tt> modules. + # Action Pack, using different Active Model modules. # It includes model name introspections, conversions, translations and # validations. Besides that, it allows you to initialize the object with a - # hash of attributes, pretty much like <tt>ActiveRecord</tt> does. + # hash of attributes, pretty much like Active Record does. # # A minimal implementation could be: # |