Skip to content

Commit 2051598

Browse files
committed
fixed typo
1 parent 79bb392 commit 2051598

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/hyper-model/lib/active_record_base.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ def __hyperstack_secure_attributes(acting_user)
395395

396396
scope __hyperstack_internal_where_scope,
397397
->(attrs) { where(attrs) }, # server side we just call where
398-
filter: ->(attrs) { !attrs.detect { |k, v| self[k] != v } # client side optimization
398+
filter: ->(attrs) { !attrs.detect { |k, v| self[k] != v } } # client side optimization
399399

400400
def self.where(attrs)
401401
__hyperstack_internal_where_scope(attrs)

0 commit comments

Comments
 (0)