diff options
author | Rizwan Reza <rizwanreza@gmail.com> | 2010-06-16 22:22:35 +0430 |
---|---|---|
committer | Rizwan Reza <rizwanreza@gmail.com> | 2010-06-16 22:22:35 +0430 |
commit | 4e3eec3d017df151ac3201be9b03f1f01c228ad3 (patch) | |
tree | b68611d5f7b4d316ce199faea8a1c28e3c7501ad /activerecord/lib/active_record/serialization.rb | |
parent | 0ebdc26caeb755df388ad31ea004960a64ba14c3 (diff) | |
download | rails-4e3eec3d017df151ac3201be9b03f1f01c228ad3.tar.gz rails-4e3eec3d017df151ac3201be9b03f1f01c228ad3.tar.bz2 rails-4e3eec3d017df151ac3201be9b03f1f01c228ad3.zip |
Adds title and proper formatting to docs.
Diffstat (limited to 'activerecord/lib/active_record/serialization.rb')
-rw-r--r-- | activerecord/lib/active_record/serialization.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activerecord/lib/active_record/serialization.rb b/activerecord/lib/active_record/serialization.rb index b49471f7ab..2d8bd184f3 100644 --- a/activerecord/lib/active_record/serialization.rb +++ b/activerecord/lib/active_record/serialization.rb @@ -1,4 +1,5 @@ module ActiveRecord #:nodoc: + # = Active Record Serialization module Serialization extend ActiveSupport::Concern include ActiveModel::Serializers::JSON @@ -22,6 +23,7 @@ module ActiveRecord #:nodoc: private # Add associations specified via the <tt>:includes</tt> option. + # # Expects a block that takes as arguments: # +association+ - name of the association # +records+ - the association record(s) to be serialized |