Skip to content

Commit b72b7c3

Browse files
authored
Merge pull request rails#48021 from p8/docs/headers-active-model-types
Add some missing headers to Active Model Type docs [ci-skip]
2 parents 5beb062 + 3042111 commit b72b7c3

File tree

12 files changed

+24
-0
lines changed

12 files changed

+24
-0
lines changed

activemodel/lib/active_model/type/big_integer.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
module ActiveModel
66
module Type
7+
# Active Model \BigInteger \Type
8+
#
79
# Attribute type for integers that can be serialized to an unlimited number
810
# of bytes. This type is registered under the +:big_integer+ key.
911
#

activemodel/lib/active_model/type/binary.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
module ActiveModel
44
module Type
5+
# Active Model \Binary \Type
6+
#
57
# Attribute type for representation of binary data. This type is registered
68
# under the +:binary+ key.
79
#

activemodel/lib/active_model/type/boolean.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
module ActiveModel
44
module Type
5+
# Active Model \Boolean \Type
6+
#
57
# A class that behaves like a boolean type, including rules for coercion of
68
# user input.
79
#

activemodel/lib/active_model/type/date.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
module ActiveModel
44
module Type
5+
# Active Model \Date \Type
6+
#
57
# Attribute type for date representation. It is registered under the
68
# +:date+ key.
79
#

activemodel/lib/active_model/type/date_time.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
module ActiveModel
44
module Type
5+
# Active Model \DateTime \Type
6+
#
57
# Attribute type to represent dates and times. It is registered under the
68
# +:datetime+ key.
79
#

activemodel/lib/active_model/type/decimal.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
module ActiveModel
66
module Type
7+
# Active Model \Decimal \Type
8+
#
79
# Attribute type for decimal, high-precision floating point numeric
810
# representation. It is registered under the +:decimal+ key.
911
#

activemodel/lib/active_model/type/float.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
module ActiveModel
66
module Type
7+
# Active Model \Float \Type
8+
#
79
# Attribute type for floating point numeric values. It is registered under
810
# the +:float+ key.
911
#

activemodel/lib/active_model/type/immutable_string.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
module ActiveModel
44
module Type
5+
# Active Model \ImmutableString \Type
6+
#
57
# Attribute type to represent immutable strings. It casts incoming values to
68
# frozen strings.
79
#

activemodel/lib/active_model/type/integer.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
module ActiveModel
44
module Type
5+
# Active Model \Integer \Type
6+
#
57
# Attribute type for integer representation. This type is registered under
68
# the +:integer+ key.
79
#

activemodel/lib/active_model/type/string.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
module ActiveModel
66
module Type
7+
# Active Model \String \Type
8+
#
79
# Attribute type for strings. It is registered under the +:string+ key.
810
#
911
# This class is a specialization of ActiveModel::Type::ImmutableString. It

0 commit comments

Comments
 (0)