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
Hi, I encountered a problem after defining before_action methods in my controller. I noticed that these methods are fired not only for programmer-defined actions, but also for the ones in the gem itself, in particular when accessing WSDL, e.g. at http://localhost:3000/actions/wsdl. This is problematic especially when before_action method tries to operate on ActiveRecord models and expects parameters which, obviously, aren't there. Consequently, an error is raised and WSDL cannot be loaded. Of course one way to solve it is to use only: ..., but still I guess this behaviour is a bit unexpected.
The text was updated successfully, but these errors were encountered:
Hi, I encountered a problem after defining
before_action
methods in my controller. I noticed that these methods are fired not only for programmer-defined actions, but also for the ones in the gem itself, in particular when accessing WSDL, e.g. athttp://localhost:3000/actions/wsdl
. This is problematic especially whenbefore_action
method tries to operate onActiveRecord
models and expects parameters which, obviously, aren't there. Consequently, an error is raised and WSDL cannot be loaded. Of course one way to solve it is to useonly: ...
, but still I guess this behaviour is a bit unexpected.The text was updated successfully, but these errors were encountered: