From 7a27de2bb055ea35c4396ac818d20b0e5aa44ab4 Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Fri, 28 Aug 2015 15:33:48 +0200 Subject: Tiny documentation improvements [ci skip] --- activemodel/lib/active_model/serialization.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'activemodel') 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 ActiveModel::Serialization - # module, so there is no need to explicitly include it. + # The JSON serialization is provided by default when you include the + # ActiveModel::Serialization module, so there is no need to explicitly + # include it. # # A minimal implementation including JSON would be: # -- cgit v1.2.3