Have you overridden some templates? Templates were renamed from rhtml to
html.erb extension, and now render(:super) doesn't work in rhtml templates.
On Lunes, 1 de Junio de 2009 13:29:52 Matt Culbreth escribió:
> Hello Friends,
>
> I've got a Rails / ActiveScaffold app that has recently broken on
> Rails 2.3.2 and the latest edition of ActiveScaffold.
>
> On one of my pages I have 5 Embedded Scaffolds, 4 of which inherit
> from a parent called EventAssignments. The subclasses are
> ParkingAssignments, DirectorAssignments, and a couple others.
>
> I'm getting these Rails errors on each of the inherited (child)
> controller scaffolds:
>
> Template is missing
>
> Missing template parking_assignments/list.erb in view path app/
> views
>
> All of my subclasses look like this:
>
> class ParkingAssignmentsController <
> EventAssignmentsController
> end
>
> This was working fine (for a couple years now) until this latest
> upgrade. Any ideas? It looks like ActiveScaffold isn't finding the
> right inheritance path or something.
>
> Thanks in advance!
>
> Here's the more complete console output:
>
> Start rendering component ({:action=>"table", :params=>
> {:eid=>"48fe4dbfe80d5fbe4e87da5cef0978b6"},
>
> :controller=>"parking_assignments"}):
>
> Processing ParkingAssignmentsController#table (for 127.0.0.1
> at 2009-06-01 07:23:03) [GET]
> Parameters:
> {"eid"=>"48fe4dbfe80d5fbe4e87da5cef0978b6", "id"=>nil}
>
> ActionView::MissingTemplate (Missing template
> parking_assignments/list.erb in view path app/views):
> app/views/event_staffing/index.rhtml:58:in
> `_run_rhtml_app47views47event_staffing47index46rhtml'
>
> Rendering rescues/layout (internal_server_error)
>
>
> End of component rendering
>
>
--
Sergio Cambra .:: entreCables 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
-~----------~----~----~----~------~----~------~--~---