diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2018-10-28 18:28:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-28 18:28:20 +0100 |
commit | a2f44cc377315ca50474d24d2f0c46011dd4a810 (patch) | |
tree | a024f50768b18c9de8d6046192623e65a2b68a5c /activemodel | |
parent | 7d7372c14df4ad5b546f012a82538753c5991905 (diff) | |
parent | 8d54f3ebaa8aef554280241159c4ab3cb4da73c8 (diff) | |
download | rails-a2f44cc377315ca50474d24d2f0c46011dd4a810.tar.gz rails-a2f44cc377315ca50474d24d2f0c46011dd4a810.tar.bz2 rails-a2f44cc377315ca50474d24d2f0c46011dd4a810.zip |
Merge pull request #34333 from albertoalmagro/fix-activemodel-dirty-changed-doc
Fix grammar in changed? docs [ci skip]
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' |