aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorLouis-Michel Couture <louim_1@hotmail.com>2016-09-15 17:34:42 -0400
committerGitHub <noreply@github.com>2016-09-15 17:34:42 -0400
commitda0532d9d1f846e5df863ea77ad269efdaaddbe6 (patch)
treef21d38c2eb50254728c0e067d1ef13ba8298086a /activemodel
parent084211a7dacca66c2b50a4a094a81de631eb3de4 (diff)
downloadrails-da0532d9d1f846e5df863ea77ad269efdaaddbe6.tar.gz
rails-da0532d9d1f846e5df863ea77ad269efdaaddbe6.tar.bz2
rails-da0532d9d1f846e5df863ea77ad269efdaaddbe6.zip
Update ActiveModel::Dirty Doc [ci skip]
Fix potentially misleading example.
Diffstat (limited to 'activemodel')
-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 f87973301b..a8df7522ff 100644
--- a/activemodel/lib/active_model/dirty.rb
+++ b/activemodel/lib/active_model/dirty.rb
@@ -58,7 +58,7 @@ module ActiveModel
#
# A newly instantiated +Person+ object is unchanged:
#
- # person = Person.new("Uncle Bob")
+ # person = Person.new
# person.changed? # => false
#
# Change the name: