From f3d0762d6caad1d5bdcd2df1df1aba869e47f0b0 Mon Sep 17 00:00:00 2001 From: Gabi Stefanini Date: Tue, 6 Dec 2016 22:01:35 -0500 Subject: 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] --- activemodel/lib/active_model/model.rb | 4 ++-- 1 file 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 - # ActionPack, using different ActiveModel 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 ActiveRecord does. + # hash of attributes, pretty much like Active Record does. # # A minimal implementation could be: # -- cgit v1.2.3 From b970ade2520de0ae9723ba35b6b2038991610c24 Mon Sep 17 00:00:00 2001 From: Gabi Stefanini Date: Tue, 6 Dec 2016 22:12:03 -0500 Subject: Add Action View to Active Model API documentation In Rails 4.1, Action View was extracted from Action Pack, but this change was not reflected in the API documentation of ActiveModel::Model. This commits makes it explicit in the documentation that Active Model also interacts with Action View as well as Action Pack. [ci skip] --- activemodel/lib/active_model/model.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemodel/lib/active_model/model.rb b/activemodel/lib/active_model/model.rb index 9503db5dc0..945a5402a3 100644 --- a/activemodel/lib/active_model/model.rb +++ b/activemodel/lib/active_model/model.rb @@ -2,7 +2,7 @@ module ActiveModel # == Active \Model \Basic \Model # # Includes the required interface for an object to interact with - # Action Pack, using different Active Model modules. + # Action Pack and Action View, 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 Active Record does. -- cgit v1.2.3