Skip to content

Commit 8aeb7e7

Browse files
committed
found another one
1 parent 6a01640 commit 8aeb7e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/hyper-model/lib/reactive_record/broadcast.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class SendPacket < Hyperstack::ServerOp
7272

7373
def self.to_self(record, data = {})
7474
# simulate incoming packet after a local save
75-
operation = if record.new?
75+
operation = if record.new_record?
7676
:create
7777
elsif record.destroyed?
7878
:destroy

0 commit comments

Comments
 (0)