aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-09-15 17:42:00 -0400
committerGitHub <noreply@github.com>2016-09-15 17:42:00 -0400
commit3e2062ed856b316fc09db60162a5f180214bc033 (patch)
treef21d38c2eb50254728c0e067d1ef13ba8298086a
parent084211a7dacca66c2b50a4a094a81de631eb3de4 (diff)
parentda0532d9d1f846e5df863ea77ad269efdaaddbe6 (diff)
downloadrails-3e2062ed856b316fc09db60162a5f180214bc033.tar.gz
rails-3e2062ed856b316fc09db60162a5f180214bc033.tar.bz2
rails-3e2062ed856b316fc09db60162a5f180214bc033.zip
Merge pull request #26508 from louim/patch-1
Update ActiveModel::Dirty Doc [ci skip]
-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: