aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel
diff options
context:
space:
mode:
authorJohn Gesimondo <john@jmondo.com>2019-07-05 10:24:01 -0700
committerGitHub <noreply@github.com>2019-07-05 10:24:01 -0700
commit4093238d0ab75403d6ec2b1a5300c80032e86c23 (patch)
treefd44b70e215218942d61e18824c69a193a2c4fb0 /activemodel
parenta59b2305792dd7012a8abc2e4b1a7d9037e8e208 (diff)
downloadrails-4093238d0ab75403d6ec2b1a5300c80032e86c23.tar.gz
rails-4093238d0ab75403d6ec2b1a5300c80032e86c23.tar.bz2
rails-4093238d0ab75403d6ec2b1a5300c80032e86c23.zip
Update docs on dirty.rb
`previously_changed` seems to actually be `previous_changes`
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 35a587658c..aaefe00c83 100644
--- a/activemodel/lib/active_model/dirty.rb
+++ b/activemodel/lib/active_model/dirty.rb
@@ -136,7 +136,7 @@ module ActiveModel
@mutations_from_database = nil
end
- # Clears dirty data and moves +changes+ to +previously_changed+ and
+ # Clears dirty data and moves +changes+ to +previous_changes+ and
# +mutations_from_database+ to +mutations_before_last_save+ respectively.
def changes_applied
unless defined?(@attributes)