undefined method error for a polymorphic route

pk16
Mon, 26 Jan 2009 01:34:15 -0000

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?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---