El Wednesday 26 November 2008 00:37:36 Tys von Gaza escribió:
> Thanks Sergio. Do you know of anywhere that describes how the new
> rails 2.2 view stuff works so I have a better understanding of it?
> Guess I could just dive into the code.
I don't know. Most of work was done by Mike Gaffney (gaffo). I haven't looked
at that code in 2.2.
>
> Tys
>
> On Nov 25, 10:02 am, "Sergio Cambra .:: entreCables - Symbol Servicios
>
> Informáticos S.L. ::." <[EMAIL PROTECTED]> wrote:
> > El Tuesday 25 November 2008 16:49:10 Tys von Gaza escribió:
> > > No, using master and rails 2.2-stable.
> >
> > In rails 2.2 generic_view_paths must be empty beacuse they aren't used. I
> > have fixed it now in my patch_queue branch
> >
> > > Tys
> > >
> > > On Nov 25, 1:39 am, "Sergio Cambra .:: entreCables - Symbol Servicios
> > >
> > > Informáticos S.L. ::." <[EMAIL PROTECTED]> wrote:
> > > > El Monday 24 November 2008 21:27:32 Tys von Gaza escribió:
> > > > > I'm over riding list.rhtml for one of my controllers, the code
> > > > > here:
> > > > >
> > > > > app/views/devices/list.rhtml
> > > > > <%= juggernaut(:channels => ["account:#{Account.current_account.id}
> > > > > devices"], :client_id => session[:user_id], :debug => false) %>
> > > > > <%= render :super %>
> > > > >
> > > > > However it isn't rendering the scaffold in the latest git of AS. I
> > > > > tried debugging the issue and it seems that it never enters the
> > > > > loop on line 43 of
> > > > > active_scaffold/lib/extensions/action_view_rendering.rb:
> > > > >
> > > > > controller.class.generic_view_paths[index..-1].each do |
> > > > > active_scaffold_template_path|
> > > > >
> > > > > It tried logging controller.class.generic_view_paths and it was
> > > > > empty... not really sure where to go from here...
> > > >
> > > > Are you using rails-2.1 branch? I have tried now and it's working
> > > > using rails 2.1.2 and rails-2.1 branch.
> > > >
> > > > --
> > > > Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L.
> > > > ::. Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
> > > > T) 902 021 404 F) 976 52 98 07 E) [EMAIL PROTECTED]
> >
> > --
> > Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
> > Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
> > T) 902 021 404 F) 976 52 98 07 E) [EMAIL PROTECTED]
>
>
--
Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
Nicolás Guillén 6, locales 2 y 3. 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
-~----------~----~----~----~------~----~------~--~---