Closed jcchikikomori closed 5 years ago
Can you post the stacktrace?
I'll close this one, because i used the wrong approach of what scope inside action class should be responsible if that fails
Can you post the stacktrace?
Sorry i deleted the stacktrace file because this issue was already vague for me to explain this as i already fixed the problem ;)
Edit: I use try catch / exception approach on my spec
context.fail_with_rollback!
was just fine even i don't even making records/transactions to database until now.I don't understand how is this happen. When i used
pry
, i manually execute that syntax and it just gives me thisLightService::FailWithRollbackError LightService::FailWithRollbackError
Here's my sample code. I was creating a category with series (array) of fields