I was trying to recover an object from my admin mode and it did not work
Admin.only_deleted.first.recover
Admin Load (1.9ms) SELECT "admins".* FROM "admins" WHERE ("admins"."deleted_at" IS NOT NULL) ORDER BY "admins"."id" ASC LIMIT 1
NoMethodError: undefined method `recover' for #<Admin:0xa57f10c>
Any idea?
There is now a restore, rather than recover, but its not correctly recovering the dependent records which is a real pain
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With