diff options
author | Josef Šimánek <retro@ballgag.cz> | 2012-02-07 06:09:08 +0100 |
---|---|---|
committer | Josef Šimánek <retro@ballgag.cz> | 2012-02-07 06:09:08 +0100 |
commit | 89f2c94c22421cffb887f70a01362dcd747ae49a (patch) | |
tree | 20be0b5beb8f44dd88b3b8d2750944ad49ded263 /activerecord/lib/active_record | |
parent | 80d3a0e16e8a3e7f02fc85a0136b52b3a1a19ebc (diff) | |
download | rails-89f2c94c22421cffb887f70a01362dcd747ae49a.tar.gz rails-89f2c94c22421cffb887f70a01362dcd747ae49a.tar.bz2 rails-89f2c94c22421cffb887f70a01362dcd747ae49a.zip |
Correcting ActiveRecord::Core#encode_with docs
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/core.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/core.rb b/activerecord/lib/active_record/core.rb index a2ce620354..97ffd11f2d 100644 --- a/activerecord/lib/active_record/core.rb +++ b/activerecord/lib/active_record/core.rb @@ -243,7 +243,7 @@ module ActiveRecord # end # coder = {} # Post.new.encode_with(coder) - # coder # => { 'id' => nil, ... } + # coder # => {"attributes" => {"id" => nil, ... }} def encode_with(coder) coder['attributes'] = attributes end |