Before I dig in any further (since I have no idea where to go from
here…)
Has anyone been succcessful with 2.3.2, AS, and nested scaffolds?
I have the latest of AS and the render_component plugin via
% script/plugin install --force
git://github.com/lackac/render_component.git
-r rails-edge
I have an AS user_controller:
active_scaffold :user do |config|
…
config.nested.add_link(“Portfolios”,[:portfolios])
end
But when I click on the Portfolios link I get:
ActionView::TemplateError (undefined method `format_column’ for
#ActionView::Base:0xb67cee38) on line #28 of vendor/plugins/
active_scaffold/frontends/default/views/_nested.rhtml:
format_column is defined in:
…/vendor/plugins/active_scaffold/lib/helpers/list_column_helpers.rb
which is included via:
…/vendor/plugins/active_scaffold/lib/helpers/view_helpers.rb
which is included via:
…/vendor/plugins/active_scaffold/environment.rb
which is included via:
…/vendor/plugins/active_scaffold/init.rb
so I don’t understand why it’s not defined when needed.
Any pointers/ideas will be much appreciated. This worked fine in
2.2.2.
Thanks,
-cpr