lib/active_remote/base.rb in active_remote-1.7.0 vs lib/active_remote/base.rb in active_remote-1.7.1
- old
+ new
@@ -36,9 +36,10 @@
define_model_callbacks :initialize, :only => :after
def initialize(*)
@attributes ||= {}
+ @new_record = true
skip_dirty_tracking do
run_callbacks :initialize do
super
end