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]
This commit is contained in:
parent
09b2e29fc6
commit
f3d0762d6c
@ -2,10 +2,10 @@ module ActiveModel
|
|||||||
# == Active \Model \Basic \Model
|
# == Active \Model \Basic \Model
|
||||||
#
|
#
|
||||||
# Includes the required interface for an object to interact with
|
# 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
|
# It includes model name introspections, conversions, translations and
|
||||||
# validations. Besides that, it allows you to initialize the object with a
|
# 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:
|
# A minimal implementation could be:
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user