inherited_resources
inherited_resources copied to clipboard
Method missing crash due to duck typing in UrlHelper
arg.respond_to?(:permitted?) ? arg.to_h : arg
https://github.com/activeadmin/inherited_resources/blob/master/lib/inherited_resources/url_helpers.rb#L200
If resource passed in has permitted? but not to_h method, this will crash.