Thank you for any help. :) OR 1. How to register new active scaffold if i want other name for scaffold from models? OR 2. I need two same active scaffold controllers for other functionality. One of them depend on other. I have copied them with other names, changed in files name of dependence only name of Models are same. So i made copies of views folders and helpers files.
So checked that line : config.columns[:id_for].set_link('nested', :parameters => {:associations => "lesson_change"})- was suitable for sub-records (lesson_change - name act.scaffold with list dependent from parent act.scaffold) AND : I get error: ActionView::TemplateError (nil) on line #14 of
vendor/plugins/active_scaffold/frontends/default /views/_nested.html.erb: 11: associated_columns.each do | column_name | 12: # find the column and the association 13: column = active_scaffold_config.columns[column_name] 14: association = column.association
vendor/plugins/active_scaffold/frontends/default/views/_nested.html.erb:14: in `block in run_erb_vendor47plugins47active_scaffold47frontends47default47views 47_nested46html46erb_locals_nested_object'
What i need to add or check that it will work?
Aucun commentaire:
Enregistrer un commentaire