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.
2 parents 5540dfc + 8b14b11 commit 3fd6329Copy full SHA for 3fd6329
activerecord/lib/active_record/relation/query_methods.rb
@@ -877,7 +877,7 @@ def where_unscoping(target_value)
877
subrelation = (rel.left.kind_of?(Arel::Attributes::Attribute) ? rel.left : rel.right)
878
subrelation.name == target_value
879
else
880
- raise "unscope(where: #{target_value.inspect}) failed: unscoping #{rel.class} is unimplemented."
+ raise "unscope(where: #{target_value.inspect}) failed: unscoping #{rel.class} \"#{rel}\" is unimplemented."
881
end
882
883
0 commit comments