aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorOscar Del Ben <info@oscardelben.com>2012-04-25 12:14:08 +0200
committerOscar Del Ben <info@oscardelben.com>2012-04-25 12:14:08 +0200
commitf9f52435e7da8cce1b57e24035bdceacc61cab36 (patch)
tree87c4de723eb00b481874fd00dccfdce3db3a5900 /activemodel
parentd089ee8639970127a617f902989a3eb3bbadf4c3 (diff)
downloadrails-f9f52435e7da8cce1b57e24035bdceacc61cab36.tar.gz
rails-f9f52435e7da8cce1b57e24035bdceacc61cab36.tar.bz2
rails-f9f52435e7da8cce1b57e24035bdceacc61cab36.zip
fix code syntax
Diffstat (limited to 'activemodel')
-rw-r--r--activemodel/lib/active_model/serialization.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/serialization.rb b/activemodel/lib/active_model/serialization.rb
index 214b03e0fb..6d49e1e7ec 100644
--- a/activemodel/lib/active_model/serialization.rb
+++ b/activemodel/lib/active_model/serialization.rb
@@ -30,11 +30,11 @@ module ActiveModel
# When called, serializable hash will use
# instance methods that match the name of the attributes hash's keys.
# In order to override this behavior, take a look at the private
- # method ++read_attribute_for_serialization++.
+ # method +read_attribute_for_serialization+.
#
# Most of the time though, you will want to include the JSON or XML
# serializations. Both of these modules automatically include the
- # ++ActiveModel::Serialization++ module, so there is no need to explicitly
+ # +ActiveModel::Serialization+ module, so there is no need to explicitly
# include it.
#
# A minimal implementation including XML and JSON would be: