aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2019-07-06 11:01:45 +0900
committerGitHub <noreply@github.com>2019-07-06 11:01:45 +0900
commit6a9061481627aad117dc5147da33bff309648ddb (patch)
treefd44b70e215218942d61e18824c69a193a2c4fb0
parenta59b2305792dd7012a8abc2e4b1a7d9037e8e208 (diff)
parent4093238d0ab75403d6ec2b1a5300c80032e86c23 (diff)
downloadrails-6a9061481627aad117dc5147da33bff309648ddb.tar.gz
rails-6a9061481627aad117dc5147da33bff309648ddb.tar.bz2
rails-6a9061481627aad117dc5147da33bff309648ddb.zip
Merge pull request #36605 from jmondo/patch-3
Update docs on dirty.rb [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 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)