TemplateError while moving to Rails 2.0.2 @ Ubuntu 7.10

Hi Guys,

I got some weird error while moving to production box (Rails 2.0.2 @
Ubuntu 7.10):

ActionView::TemplateError (undefined method `topics_path’ for
#ActionView::Base:0xb6406170)

/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:in
send' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:637:incompile_and_render_template’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:365:in
render_template' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:316:inrender_file’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:331:in
render' /usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/partials.rb:120:inrender_partial’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/base.rb:352:in
`render’

I declares map.resources topics in routes.rb, and it works well on Rails
1.2/2.0.2 @ windows. It seems the RESTful apis does not work on rails
2.0.2 @ Unbuntu 7.10.

Any clues? Thanks in advance!

–Eddie

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs