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 ran into an issue implementing my first feature, refactor-images. The application would crash with a bizarre error: Flipper::UI::RequestMethodNotSupported - Flipper::UI::Actions::File does not support request method "post"
This happened when I tried to add a specific actor using the UI.
This made me think that I had broken it somehow, or otherwise set it up incorrectly, but my only mistake was treading upon A Regular Expression
I discovered my error by the expedient combo of debugging, stepping, and print @action_collection.method(:action_for_request).source. But of course I think more common consumers of the gem may be completely confused and give up or post an issue.
Shouldn't you specify the route match more strictly, rather than matching any part of the full path?
That stinks. Sorry. Added a spec and fixed it by adjusting the order of the action collection and thus route processing. Released 0.7.1 which should solve your issue.
I ran into an issue implementing my first feature,
refactor-images
. The application would crash with a bizarre error:Flipper::UI::RequestMethodNotSupported - Flipper::UI::Actions::File does not support request method "post"
This happened when I tried to add a specific actor using the UI.
This made me think that I had broken it somehow, or otherwise set it up incorrectly, but my only mistake was treading upon A Regular Expression
I discovered my error by the expedient combo of debugging, stepping, and
print @action_collection.method(:action_for_request).source
. But of course I think more common consumers of the gem may be completely confused and give up or post an issue.Shouldn't you specify the route match more strictly, rather than matching any part of the full path?
Else, no features containing these five words will be permitted.
The text was updated successfully, but these errors were encountered: