search for: _partial_renderer

Displaying 1 result from an estimated 1 matches for "_partial_renderer".

Did you mean: partial_renderer
2011 Apr 06
1
Time to fix PartialRenderer#partial_path
...ode using your engine). module Foo class Engine < Rails::Engine; isolate_namespace Foo; end class ApplicationController < ActionController::Base; end class Thing < ActiveRecord::Base; end end Foo::Thing.connection.create_table(:foo_things) Foo::ApplicationController.new.view_context._partial_renderer.send(:partial_path, Foo::Thing.new) => "foo/foo/things/thing" I believe the solution should be to change the default behaviour or at least provide an option to stop rails from prefixing the partial_path. -- You received this message because you are subscribed to the Google Groups &...