Skip to content

Commit

Permalink
Merge pull request rails#48024 from p8/docs/headers-active-model-types
Browse files Browse the repository at this point in the history
Fix ActiveModel type headings [ci-skip]
  • Loading branch information
p8 committed Apr 22, 2023
2 parents 0d02e5d + 5a3daa6 commit f2327e8
Show file tree
Hide file tree
Showing 12 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/big_integer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module ActiveModel
module Type
# Active Model \BigInteger \Type
# = Active Model \BigInteger \Type
#
# Attribute type for integers that can be serialized to an unlimited number
# of bytes. This type is registered under the +:big_integer+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/binary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \Binary \Type
# = Active Model \Binary \Type
#
# Attribute type for representation of binary data. This type is registered
# under the +:binary+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/boolean.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \Boolean \Type
# = Active Model \Boolean \Type
#
# A class that behaves like a boolean type, including rules for coercion of
# user input.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/date.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \Date \Type
# = Active Model \Date \Type
#
# Attribute type for date representation. It is registered under the
# +:date+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/date_time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \DateTime \Type
# = Active Model \DateTime \Type
#
# Attribute type to represent dates and times. It is registered under the
# +:datetime+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/decimal.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module ActiveModel
module Type
# Active Model \Decimal \Type
# = Active Model \Decimal \Type
#
# Attribute type for decimal, high-precision floating point numeric
# representation. It is registered under the +:decimal+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/float.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module ActiveModel
module Type
# Active Model \Float \Type
# = Active Model \Float \Type
#
# Attribute type for floating point numeric values. It is registered under
# the +:float+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/immutable_string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \ImmutableString \Type
# = Active Model \ImmutableString \Type
#
# Attribute type to represent immutable strings. It casts incoming values to
# frozen strings.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/integer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \Integer \Type
# = Active Model \Integer \Type
#
# Attribute type for integer representation. This type is registered under
# the +:integer+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/string.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

module ActiveModel
module Type
# Active Model \String \Type
# = Active Model \String \Type
#
# Attribute type for strings. It is registered under the +:string+ key.
#
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/time.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \Time \Type
# = Active Model \Time \Type
#
# Attribute type for time of day representation. It is registered under the
# +:time+ key.
Expand Down
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/type/value.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module ActiveModel
module Type
# Active Model \Value \Type
# = Active Model \Value \Type
#
# The base class for all attribute types. This class also serves as the
# default type for attributes that do not specify a type.
Expand Down

0 comments on commit f2327e8

Please sign in to comment.