Forum: Ruby on Rails undefined method error for a polymorphic route

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Eefbfa56bd62b81f94dddb263c7c9c40?d=identicon&s=25 pk16 (Guest)
on 2009-01-26 02:37
(Received via mailing list)
Hi, I'm trying to upgrade a 2.0.2 app to 2.2.2, but first I decided to
upgrade to 2.1.2 after reading some posts recommending to do this.

 After firing up the app and running my tests, I now see that my
polymorphic routes seem to be broken.


test_should_create_footerpage(PagesControllerTest):
NoMethodError: undefined method `footerpage_url' for #<PagesController:
0x4814648
>
    C:/InstantRails2/rails_apps/real_estate_application_2/vendor/rails/
actionpac
k/lib/action_controller/polymorphic_routes.rb:105:in `send!'

Has anyone run into anything like this?
This topic is locked and can not be replied to.