aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-02-06 09:45:24 +0100
committerXavier Noria <fxn@hashref.com>2015-02-06 09:45:24 +0100
commita2af7bb9280f2b52da0f8af3796fbe2e388025ff (patch)
treebf0cd9a1e2de9899b05d5ac8e551a4bb961a5cb8 /activemodel/lib/active_model
parent4af4cead151055d15ca4d6942c3e66318ca72758 (diff)
downloadrails-a2af7bb9280f2b52da0f8af3796fbe2e388025ff.tar.gz
rails-a2af7bb9280f2b52da0f8af3796fbe2e388025ff.tar.bz2
rails-a2af7bb9280f2b52da0f8af3796fbe2e388025ff.zip
use parentheses here, for the beard of the Prophet! [ci skip]
Diffstat (limited to 'activemodel/lib/active_model')
-rw-r--r--activemodel/lib/active_model/dirty.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb
index 283dbf0586..5262f6c5e0 100644
--- a/activemodel/lib/active_model/dirty.rb
+++ b/activemodel/lib/active_model/dirty.rb
@@ -58,7 +58,7 @@ module ActiveModel
#
# A newly instantiated object is unchanged:
#
- # person = Person.new 'Uncle Bob'
+ # person = Person.new('Uncle Bob')
# person.changed? # => false
#
# Change the name: