Permalink
Browse files

Merge pull request #16645 from sgrif/sg-perf-regression

Don't calculate in-place changes twice
  • Loading branch information...
2 parents ab00b24 + 35bbf09 commit 50e47a3711101e4294334ab27b7502dfd0228ef2 @rafaelfranca rafaelfranca committed Aug 22, 2014
Showing with 0 additions and 8 deletions.
  1. +0 −8 activerecord/lib/active_record/attribute_methods/dirty.rb
@@ -43,14 +43,6 @@ def initialize_dup(other) # :nodoc:
calculate_changes_from_defaults
end
- def changed?
- super || changed_in_place.any?
- end
-
- def changed
- super | changed_in_place
- end
-
def changes_applied
super
store_original_raw_attributes

0 comments on commit 50e47a3

Please sign in to comment.