Sha256: f82cf02e30454957278c4272ae80b5e18eedd02efa6d54acbdb79b38c739a91b
Contents?: true
Size: 537 Bytes
Versions: 3
Compression:
Stored size: 537 Bytes
Contents
require 'gem-patching' # ActionDispatch::Integration::Runner defines method_missing but no accompaning # respond_to? method. It thus doesn't respond_to? to named route url helpers even # though it actually responds to them. Happens with the PolymorphicRoutes patch # above, so this patch is here as well. Gem.patching('rails', '3.0.3') do ActionDispatch::Integration::Runner.module_eval do def respond_to?(method, include_private = false) @integration_session.respond_to?(method, include_private) || super end end end
Version data entries
3 entries across 3 versions & 1 rubygems