atd
unread,Mar 27, 2008, 12:48:38 PM3/27/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
I have the following route:
map.open_id_complete 'session', { :open_id_complete => true,
:requirements => { :method
=> :get },
:controller => "sessions",
:action => "create" }
map.resource :session
but when doing a POST, open_id_complete is triggered despite method is
not get!!
Processing SessionsController#create (for 127.0.0.1 at 2008-03-27
17:37:50) [POST]
Session ID:
BAh7CDoMY3NyZl9pZCIlZjBlZjA5MDhjZWY4OTE2OWNjYmFkY2U1NDBlYTU1%0AZmIiLk9wZW5JRDo6Q29uc3VtZXI6Omxhc3RfcmVxdWVzdGVkX2VuZHBvaW50%0AMCIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFz
%0AaHsABjoKQHVzZWR7AA%3D%3D--ab2d9c6c13da4948dcc18c0ec88492a84929ba05
Parameters: {"commit"=>"Sign in",
"authenticity_token"=>"91cc79690b582c5cd2cbf40937108fa1c6099c30",
"action"=>"create", "controller"=>"sessions", "openid_identifier"=>"",
"open_id_complete"=>true, "password"=>"", "login"=>""}
any ideas?