# Rails 2.3.2, active scaffold, nested, ActionView::TemplateError (undefined method \`format\_column'

**URL:** <https://www.ruby-forum.com/t/rails-2-3-2-active-scaffold-nested-actionview-templateerror-undefined-method-format-column/168537>\
**Category:** Rails\
**Created:** [May 22, 2009, 4:35am UTC](https://www.ruby-forum.com/t/rails-2-3-2-active-scaffold-nested-actionview-templateerror-undefined-method-format-column/168537 "2009-05-22T04:35:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cpr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/439d5e/32.png) [@cpr](https://www.ruby-forum.com/u/cpr)\
**Post date:** [May 22, 2009, 4:35am UTC](https://www.ruby-forum.com/t/rails-2-3-2-active-scaffold-nested-actionview-templateerror-undefined-method-format-column/168537/1 "2009-05-22T04:35:23Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![cpr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/439d5e/32.png) [@cpr](https://www.ruby-forum.com/u/cpr)\
**Post date:** [May 22, 2009, 6:31pm UTC](https://www.ruby-forum.com/t/rails-2-3-2-active-scaffold-nested-actionview-templateerror-undefined-method-format-column/168537/2 "2009-05-22T18:31:38Z")

</div>

Problem was that I had installed the newest AS on top of an earlier  
version, so …/frontend/default/views contained \*.html.erb and  
\*.rhtml files.

The latter ones were being picked up instead of the former.

I deleted AS and did a fresh install and all is good.

-cpr
