You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this gem and it's not working for without_default_scope: true option.
I have below code snippet.
class Ticket < ApplicationRecord
acts_as_paranoid without_default_scope: true
end
Ticket.find(1)
SELECT "tickets".* FROM "tickets" WHERE "tickets"."deleted_at" IS NULL AND "tickets"."id" = $1 LIMIT $2 [["id", 1], ["LIMIT", 1]]
I am using ruby 2.7.1, rails 6.0.2.2 and paranoia 2.4.2.
The text was updated successfully, but these errors were encountered:
I am using this gem and it's not working for
without_default_scope: true
option.I have below code snippet.
I am using ruby
2.7.1
, rails6.0.2.2
and paranoia2.4.2
.The text was updated successfully, but these errors were encountered: