Skip to content

Commit 41f09bf

Browse files
author
dmitrii.buk
committed
fix 2
1 parent 88c2bc6 commit 41f09bf

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/table_sync/publishing/batch.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TableSync::Publishing::Batch
99
:event
1010

1111
def initialize(attrs = {})
12-
attrs = attrs.deep_symbolize_keys
12+
attrs = attrs.with_indifferent_access
1313

1414
self.object_class = attrs[:object_class]
1515
self.original_attributes = attrs[:original_attributes]

lib/table_sync/publishing/raw.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ class TableSync::Publishing::Raw
1313
:event
1414

1515
def initialize(attributes = {})
16-
attributes = attributes.deep_symbolize_keys
16+
attributes = attributes.with_indifferent_access
1717

1818
self.model_name = attributes[:model_name]
1919
self.table_name = attributes[:table_name]

lib/table_sync/publishing/single.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class TableSync::Publishing::Single
1010
:event
1111

1212
def initialize(attrs = {})
13-
attrs = attrs.deep_symbolize_keys
13+
attrs = attrs.with_indifferent_access
1414

1515
self.object_class = attrs[:object_class]
1616
self.original_attributes = attrs[:original_attributes]

0 commit comments

Comments
 (0)