We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79bb392 commit 2051598Copy full SHA for 2051598
ruby/hyper-model/lib/active_record_base.rb
@@ -395,7 +395,7 @@ def __hyperstack_secure_attributes(acting_user)
395
396
scope __hyperstack_internal_where_scope,
397
->(attrs) { where(attrs) }, # server side we just call where
398
- filter: ->(attrs) { !attrs.detect { |k, v| self[k] != v } # client side optimization
+ filter: ->(attrs) { !attrs.detect { |k, v| self[k] != v } } # client side optimization
399
400
def self.where(attrs)
401
__hyperstack_internal_where_scope(attrs)
0 commit comments