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

CCH
http://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