aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2015-08-28 15:33:48 +0200
committerRobin Dupret <robin.dupret@gmail.com>2015-08-28 15:33:48 +0200
commit7a27de2bb055ea35c4396ac818d20b0e5aa44ab4 (patch)
tree094aadbc59069533cd1861a9558223e2e0c4361a /activemodel
parentac1c888b95481cb66df8175952403b447fffe7e8 (diff)
downloadrails-7a27de2bb055ea35c4396ac818d20b0e5aa44ab4.tar.gz
rails-7a27de2bb055ea35c4396ac818d20b0e5aa44ab4.tar.bz2
rails-7a27de2bb055ea35c4396ac818d20b0e5aa44ab4.zip
Tiny documentation improvements [ci skip]
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/serialization.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/serialization.rb b/activemodel/lib/active_model/serialization.rb
index 44bc9efa47..341651d00d 100644
--- a/activemodel/lib/active_model/serialization.rb
+++ b/activemodel/lib/active_model/serialization.rb
@@ -31,8 +31,9 @@ module ActiveModel
# of the attributes hash's keys. In order to override this behavior, take a look
# at the private method +read_attribute_for_serialization+.
#
- # JSON Serialization module is automatically include the <tt>ActiveModel::Serialization</tt>
- # module, so there is no need to explicitly include it.
+ # The JSON serialization is provided by default when you include the
+ # <tt>ActiveModel::Serialization</tt> module, so there is no need to explicitly
+ # include it.
#
# A minimal implementation including JSON would be:
#