On Jueves, 2 de Julio de 2009 16:23:04 Chris Eppstein escribió: > Yes, I am. The problem is that the controller_path of the subclass is > getting explicitly added to the override partials, causing the PathSet to > not find > the partial in the view path. I'm pretty sure you do this due to the > complexities around nested scaffolds... > chris
Try with add_active_scaffold_path 'app/views/parent_controller' after active_scaffold configure block > > On Thu, Jul 2, 2009 at 12:57 AM, Sergio Cambra .:: entreCables S.L. ::. < > > [email protected]> wrote: > > On Jueves, 2 de Julio de 2009 06:32:16 Chris Eppstein escribió: > > > Hi, > > > > > > We're upgrading to rails2.3 and have just taken the master branch of > > > AS from June 9th or so as our current version of active scaffold. > > > > > > We've always kind-of hacked to get our controllers to inherit form > > > partial overrides from the super class controller by adding an > > > explicit prepend_view_path to the subclass controller with the view > > > path of the parent. But now that doesn't seem to work anymore (the > > > override is not found and we get the default nested form for the > > > association). We spent most of the day reading through the code and > > > trying to see what to do, to no avail. > > > > > > What is the recommended way to have one active_scaffold controller > > > inherit partial overrides from the superclass controller? > > > > I think it should work. Are you prepending the path before you configure > > active_scaffold for that controller? > > > > > Thanks, > > > Chris Eppstein > > > > -- > > Sergio Cambra .:: entreCables S.L. ::. > > Mariana Pineda 23, 50.018 Zaragoza > > T) 902 021 404 F) 976 52 98 07 E) [email protected] > > -- Sergio Cambra .:: entreCables S.L. ::. Mariana Pineda 23, 50.018 Zaragoza T) 902 021 404 F) 976 52 98 07 E) [email protected] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
