Hi Volker

TQVM, this issue is considered close

CCH
http://cch4rails.blogspot.com

On Aug 24, 8:38 pm, "[email protected]"
<[email protected]> wrote:
> Hi,
>
> I would suggest to read the README file in top dir of activescaffold:
>
> There you might find the following:
>
> Since Rails 2.3, render_component plugin is needed for nested and
> embbeded scaffolds. It works with rails-2.3 branch from ewildgoose
> repository:
> script/plugin install git://github.com/ewildgoose/render_component.git
> -r rails-2.3
>
> Take care
> Volker
>
> On 23 Aug., 11:30, CCH <[email protected]> wrote:
>
> > Hi Sergio
>
> > This works in Rails 1.2
>
> > active_scaffold_config.nested.add_link("Consulting", [:conactuas])
>
> > But in Rail 2.3.3 + latst active_scaffold, I get this error message
>
> > active_scaffold_config.nested.add_link("Consuting", [:conactuas])
> > ActionView::TemplateError (undefined method `render_component' for
> > #<ActionView::Base:0xb6fdda0c>) on line #39 of vendor/plugins/
> > active_scaffold/frontends/default/views/_nested.html.erb:
> > 36:           :constraints => @constraints,
> > 37:           :conditions => association.options[:conditions],
> > 38:           :label => h(@label),
> > 39:           :params => {:nested => true, :parent_column =>
> > column_name, :parent_model => association.active_record}
> > 40:         )
> > 41:       end
> > 42:     end
>
> >     vendor/plugins/active_scaffold/frontends/default/views/
> > _nested.html.erb:39
> >     vendor/plugins/active_scaffold/frontends/default/views/
> > _nested.html.erb:11:in `each'
> >     vendor/plugins/active_scaffold/frontends/default/views/
> > _nested.html.erb:11
> >     -e:2:in `load'
> >     -e:2
>
> > Rendered rescues/_trace (259.1ms)
> > Rendered rescues/_request_and_response (1.1ms)
> > Rendering rescues/layout (internal_server_error)
>
> > What should I do to fix this error ?
>
> > TIA
>
> > CCHhttp://cch4rails.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to