aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib
diff options
context:
space:
mode:
authorMark Rushakof <mark.rushakoff@gmail.com>2012-04-27 00:00:30 -0700
committerMark Rushakof <mark.rushakoff@gmail.com>2012-04-27 00:00:30 -0700
commit8cc4159018929fb4b0aa431b7041f6a66f160180 (patch)
tree3b6028a1cebeda9bb7a4f1babaf539a09d045289 /activemodel/lib
parent504e539166ab3528e6377ae8bcf5ddacb3572729 (diff)
downloadrails-8cc4159018929fb4b0aa431b7041f6a66f160180.tar.gz
rails-8cc4159018929fb4b0aa431b7041f6a66f160180.tar.bz2
rails-8cc4159018929fb4b0aa431b7041f6a66f160180.zip
Use <tt>Foo::Bar</tt> instead of +Foo::Bar+
The latter doesn't render as code in HTML output. Regex used in Rubymine to locate the latter form: (\+)(:*\w+:(?::|\w)+)(\+)
Diffstat (limited to 'activemodel/lib')
-rw-r--r--activemodel/lib/active_model/serialization.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/serialization.rb b/activemodel/lib/active_model/serialization.rb
index a5828476b1..4403ef060b 100644
--- a/activemodel/lib/active_model/serialization.rb
+++ b/activemodel/lib/active_model/serialization.rb
@@ -34,7 +34,7 @@ module ActiveModel
#
# 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
+ # <tt>ActiveModel::Serialization</tt> module, so there is no need to explicitly
# include it.
#
# A minimal implementation including XML and JSON would be: