[Locomotive-users] Action Controller Error

Shannon spamfreeuniverse at gmail.com
Sun Dec 10 12:31:39 GMT 2006


I have created my database, am able to connect and create tables.  
However, after visited a recently created scaffolding i get the  
following. I found a similar thread on here, but it was never answered.

NoMethodError in Contributor#index

Showing Applications/Locomotive2/Bundles/ 
standardRailsSept2006.locobundle/powerpc/lib/ruby/gems/1.8/gems/ 
actionpack-1.12.5/lib/action_controller/templates/scaffolds/ 
list.rhtml where line #5 raised:

undefined method `content_columns' for ActionController::Layout:Module

Extracted source (around line #5):

2:
3: <table>
4:   <tr>
5:   <% for column in @scaffold_class.content_columns %>
6:     <th><%= column.human_name %></th>
7:   <% end %>
8:   </tr>

RAILS_ROOT: /Users/Shanny/Sites/dev/rails/somanylayouts/config/..
Application Trace | Framework Trace | Full Trace

/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/templates/scaffolds/list.rhtml:5:in  
`_run_rhtml__Applications_Locomotive2_Bundles_standardRailsSept200646loc 
obundle_powerpc_lib_ruby_gems_1468_gems_actionpack_14612465_lib_action_c 
ontroller_templates_scaffolds_list'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ 
base.rb:316:in `compile_and_render_template'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ 
base.rb:292:in `render_template'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/action_view/ 
base.rb:251:in `render_file'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/scaffolding.rb:168:in `render_scaffold'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/scaffolding.rb:110:in `list'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/scaffolding.rb:97:in `index'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/base.rb:941:in `perform_action_without_filters'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/filters.rb:368:in `perform_action_without_benchmark'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/1.8/benchmark.rb:293:in `measure'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/rescue.rb:82:in `perform_action'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/base.rb:408:in `process_without_filters'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/filters.rb:377:in  
`process_without_session_management_support'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/actionpack-1.12.5/lib/ 
action_controller/session_management.rb:117:in `process'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/dispatcher.rb:38:in  
`dispatch'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: 
84:in `process'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/1.8/sync.rb:229:in `synchronize'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/rails.rb: 
83:in `process'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:580:in  
`process_client'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:579:in  
`process_client'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in  
`run'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:686:in  
`run'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel.rb:673:in  
`run'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ 
configurator.rb:267:in `run'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ 
configurator.rb:266:in `run'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails: 
127:in `run'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/lib/mongrel/ 
command.rb:211:in `run'
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/lib/ruby/gems/1.8/gems/mongrel-0.3.13.4/bin/mongrel_rails:231
/Applications/Locomotive2/Bundles/standardRailsSept2006.locobundle/ 
powerpc/bin/mongrel_rails:18




More information about the Locomotive-users mailing list