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 need to change respond_to and some other stuff to make it work properly but if I use the respond_to callback I can't easily check if a resource was save or not and do my redirect or my render with erros.
I like where you are going with this. I want to setup a test case so I can better feel your pain and then come out of that with a solution, but I like your initial idea of using an instance variable.
Hi @hopsoft, I really like your gem it make my controller really skinny but :
if I have a resource scoped in another
example
I need to change respond_to and some other stuff to make it work properly but if I use the respond_to callback I can't easily check if a resource was save or not and do my redirect or my render with erros.
if I use namespace
example
I got the same problem :)
Solution
May be can change local var success to instance var @success ? If you agree I'll did it -)
The text was updated successfully, but these errors were encountered: