aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorMarcel Molina <marcel@vernix.org>2006-04-26 21:29:10 +0000
committerMarcel Molina <marcel@vernix.org>2006-04-26 21:29:10 +0000
commitca2eb16bf9a5844607787c49be38bd36cfbfd568 (patch)
treee9c957703b4593cfb1db9c4194243ee3cc13cf82 /activerecord/lib
parent242cd0604e6a4fec691004beb950cf4261ba7f3c (diff)
downloadrails-ca2eb16bf9a5844607787c49be38bd36cfbfd568.tar.gz
rails-ca2eb16bf9a5844607787c49be38bd36cfbfd568.tar.bz2
rails-ca2eb16bf9a5844607787c49be38bd36cfbfd568.zip
Fix syntax error in documentation. Closes #4679. [mislav@nippur.irb.hr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4281 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/lib')
-rwxr-xr-xactiverecord/lib/active_record/base.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index d4345807a5..c39689c01d 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -175,7 +175,7 @@ module ActiveRecord #:nodoc:
# serialize :preferences
# end
#
- # user = User.create(:preferences) => { "background" => "black", "display" => large })
+ # user = User.create(:preferences => { "background" => "black", "display" => large })
# User.find(user.id).preferences # => { "background" => "black", "display" => large }
#
# You can also specify a class option as the second parameter that'll raise an exception if a serialized object is retrieved as a