This project is archived and is in readonly mode.
request.inspect does not work in ruby 1.9.2
-
Jarl Friis
- Tag changed from rails 2., rails 2.3.11, 2.3-stable, 2.3.x, rails_2_3_stable, ruby-1.9.2, ruby-192, ruby1.9, ruby1.9.2, ruby1.9.2-p136, ruby19, ruby192 to rails 2., rails 2.3.11, 2.3-stable, 2.3.x, actioncontroller::request, rails_2_3_stable, ruby-1.9.2, ruby-192, ruby1.9, ruby1.9.2, ruby1.9.2-p136, ruby19, ruby192
I have created a small github project that demonstrates the bug on https://github.com/jarl-dk/rails_ticket6541
the project is created with
rails rails_ticket6541 cd rails_ticket6541 ./script generate scaffold post ./script generate integration_test GeneralStoriesAnd then applied commit 5c0531783142132a285cb4330c5710308239d3a7
It is interesting to note that only the integration test fails, not the functional test.
Note also that it only fails with ruby 1.9.2 (not ruby 1.8.x)Jarl
-
Jarl Friis
- Tag changed from rails 2., rails 2.3.11, 2.3-stable, 2.3.x, actioncontroller::request, rails_2_3_stable, ruby-1.9.2, ruby-192, ruby1.9, ruby1.9.2, ruby1.9.2-p136, ruby19, ruby192 to rails 2., rails 2.3.11, 2.3-stable, 2.3.x, actioncontroller::request, rails_2_3_stable, request, ruby-1.9.2, ruby-192, ruby1.9, ruby1.9.2, ruby1.9.2-p136, ruby19, ruby192
-
Jarl Friis
- Tag changed from rails 2., rails 2.3.11, 2.3-stable, 2.3.x, actioncontroller::request, rails_2_3_stable, request, ruby-1.9.2, ruby-192, ruby1.9, ruby1.9.2, ruby1.9.2-p136, ruby19, ruby192 to rails 2., rails 2.3.11, 2.3-stable, 2.3.x, abstract_store.rb, abstract_storerb, actioncontroller::request, cookie-store, cookiestore, cookie_store, rails_2_3_stable, request, ruby-1.9.2, ruby-192, ruby1.9, ruby1.9.2, ruby1.9.2-p136, ruby19, ruby192
I forgot to mention... When start the server with
./script/serverand hit http://localhost:3000/posts, I get/home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:155:in `[]=' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:155:in `unpacked_cookie_data' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:138:in `extract_session_id' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/abstract_store.rb:36:in `load_session_id!' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/abstract_store.rb:24:in `[]' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:147:in `current_session_id' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/cookie_store.rb:151:in `exists?' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/abstract_store.rb:107:in `exists?' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/abstract_store.rb:124:in `load_for_read!' /home/jarl/.rvm/gems/ruby-1.9.2-p136@minimal/gems/actionpack-2.3.11/lib/action_controller/session/abstract_store.rb:101:in `inspect' /home/jarl/Private/nokia/projects/bug_demo/app/controllers/posts_controller.rb:6:in `inspect' /home/jarl/Private/nokia/projects/bug_demo/app/controllers/posts_controller.rb:6:in `inspect' /home/jarl/Private/nokia/projects/bug_demo/app/controllers/posts_controller.rb:6:in `index'