Hiccdown Development Notes
Showing only #5840 and its comments.
See full discussionLog in or sign up to participate in this discussion.
With an account, you can revise, criticize, and comment on ideas.Discussions can branch out indefinitely. You may need to scroll sideways.
Dennis HackethalOP·#5840··AI-assisted
Hiccdown finds an action's helper method through params[:action] rather than the controller's action_name. When a controller runs without the router, as in ProductsController.action(:show).call(env), params[:action] is nil and rendering raises NoMethodError: undefined method 'to_sym' for nil instead of calling ProductsHelper#show.
CriticismCriticized1Archived
Dennis HackethalOP·#5842··AI-assisted
Fixed as of 31cf174, to be released in version 1.6.0.