Routing Error from pg. 38
louis
5 posts
|
hi, i get the Add this App, but once i add it, i get a routing error page. it’s an error on the rails server, b/c it’s in the logs. (and it’s the facebooker layout.rb template) i’ve followed the instructions in the book to the letter. and have gone over the steps and code several times. does anyone have an idea on where to look for a solution? has facebook changed something since this latest version of the pdf? i’m using Rails 2.1.0 error: Routing Error now, the book doesn’t say that we need to map ’/’ to anything (the default being the rails welcome page). and there’s no other controller to use except invitations—up to this point in the book. snippet from dev logs on rails server: Processing ApplicationController#index (for 69.63.176.91 at 2008-07-04 02:22:29) [GET] Session ID: STRING_OF_CHARS Parameters: {“fb_sig_time”=>”1215138149.0521”, “fb_sig”=>”STRING_OF_CHARS”, “_method”=>”GET”, “fb_sig_locale”=>”en_US”, “installed”=>”1”, “fb_sig_session_key”=>”STRING_OF_CHARS”, “fb_sig_position_fix”=>”1”, “fb_sig_in_canvas”=>”1”, “fb_sig_request_method”=>”GET”, “auth_token”=>”STRING_OF_CHARS”, “fb_sig_expires”=>”0”, “fb_sig_friends”=>”STRING_OF_CHARS”, “fb_sig_added”=>”1”, “fb_sig_api_key”=>”STRING_OF_CHARS”, “fb_sig_profile_update_time”=>”0”, “fb_sig_user”=>”STRING_OF_CHARS”} ActionController::RoutingError (No route matches ”/” with {:method=>:get, :canvas=>true}):
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/recognition_optimisation.rb:67:in `recognize_path’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/routing/route_set.rb:384:in `recognize’
/usr/lib/ruby/gems/1.8/gems/actionpack-2.1.0/lib/action_controller/dispatcher.rb:148:in `handle_request’ |
Mike Mangino
91 posts
|
That’s probably because your post add URL is set to go to the / URL for your application. I wouldn’t worry about that. As you go a little further in the book you will set up a route for / I’ll make sure to explain what is happening in the book. |
louis
5 posts
|
thanks for the reply! i’ll plow along and see where it gets me. |
3 posts, 2 voices
