Sha256: 503b743781f2a5850dc17c8bf2cdf819968d70c70e0bdec7f7d731cc5f87b599
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