diff options
author | Alberto Almagro <albertoalmagro@gmail.com> | 2018-10-28 17:20:27 +0100 |
---|---|---|
committer | Alberto Almagro <albertoalmagro@gmail.com> | 2018-10-28 17:20:27 +0100 |
commit | 8d54f3ebaa8aef554280241159c4ab3cb4da73c8 (patch) | |
tree | deff9a83ed14920af6a799b63ba40faa37fa8bbe /activemodel | |
parent | 3295e23755744b7f9426d752481bb928fb02a89e (diff) | |
download | rails-8d54f3ebaa8aef554280241159c4ab3cb4da73c8.tar.gz rails-8d54f3ebaa8aef554280241159c4ab3cb4da73c8.tar.bz2 rails-8d54f3ebaa8aef554280241159c4ab3cb4da73c8.zip |
Fix grammar in changed? docs [ci skip]
See https://english.stackexchange.com/questions/23218/anyone-has-or-anyone-have-seen-them
Diffstat (limited to 'activemodel')
-rw-r--r-- | activemodel/lib/active_model/dirty.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/dirty.rb b/activemodel/lib/active_model/dirty.rb index 093052a70c..f0e1242554 100644 --- a/activemodel/lib/active_model/dirty.rb +++ b/activemodel/lib/active_model/dirty.rb @@ -151,7 +151,7 @@ module ActiveModel @mutations_from_database = nil end - # Returns +true+ if any of the attributes have unsaved changes, +false+ otherwise. + # Returns +true+ if any of the attributes has unsaved changes, +false+ otherwise. # # person.changed? # => false # person.name = 'bob' |