Skip to content

Commit

Permalink
Update docs on dirty.rb
Browse files Browse the repository at this point in the history
`previously_changed` seems to actually be `previous_changes`
  • Loading branch information
jmondo committed Jul 5, 2019
1 parent a59b230 commit 4093238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activemodel/lib/active_model/dirty.rb
Expand Up @@ -136,7 +136,7 @@ def initialize_dup(other) # :nodoc:
@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)
Expand Down

0 comments on commit 4093238

Please sign in to comment.