On Lunes, 1 de Marzo de 2010 12:20:19 umuro escribió:
> rails 2.3.5 and latest active_scaffold and render_component for rails
> 2.3 on github...
>
> If a class has has_many then active_scaffold used to generated a
> nested scaffold for that association automatically. It does not
> anymore. Instead of nested scaffolds, I am getting update links.
>
> To work around I tried to force a nested scaffold myself.
> .e.g
>
>   active_scaffold :project do |config|
>     config.nested.add_link("Subprojects", [:subprojects])
>   end
>
> And this results in a problem screen, too
>
> Has anybody have a success story with associated model?

It's working here, can you post your associations definitions?

>
> -------------------------------------------------
> can't convert Class into String
>
> Extracted source (around line #28):
>
> 25:       end
> 26:
> 27:       # generate the customized label
> 28:       @label = as_(:nested_for_model, :nested_model =>
> active_scaffold_config_for(association.klass).list.label, :parent_model
> => format_value(@record.to_label))
> 29:
> 30:       begin
> 31:         controller =
> active_scaffold_controller_for(association.klass)
>
> RAILS_ROOT: /home/umur/nondoc/workspaces/conceptspace/plan

-- 
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.

Reply via email to