This project is archived and is in readonly mode.
ActionController::Base#local_request? removed
Reported by John Firebaugh | August 12th, 2010 @ 02:20 AM | in 3.x
In Rails 3, it was moved to the ShowExceptions middleware, and is no longer available in a controller context. Was it considered a public API in Rails 2? I was relying on it in my app, and Rails::InfoController still references it as well.
Comments and changes to this ticket
-
John Firebaugh August 12th, 2010 @ 02:25 AM
$ rails new info_controller
InfoController::Application.routes.draw do match '/info', :to => 'rails/info#properties' end
$ rails server -e production
undefined method `local_request?' for #<Rails::InfoController:0x1037241c0>
-
Santiago Pastorino August 13th, 2010 @ 12:28 AM
- Milestone set to 3.x
- State changed from new to open
- Assigned user set to Santiago Pastorino
- Importance changed from to Low
Can you make a patch or failing test?
-
Repository August 13th, 2010 @ 10:17 PM
- State changed from open to committed
(from [919888503d481c3bd21a33acd3cd1018fc48f500]) Moves local_request? to require.local?
[#5361 state:committed] http://github.com/rails/rails/commit/919888503d481c3bd21a33acd3cd10...
-
Repository August 13th, 2010 @ 10:17 PM
(from [3698da65e587c1c33e897c49d9204b3861f89d9d]) Moves local_request? to require.local?
[#5361 state:committed] http://github.com/rails/rails/commit/3698da65e587c1c33e897c49d9204b...
-
Santiago Pastorino August 13th, 2010 @ 10:19 PM
Ouch the message was intended to be Moves local_request? to request.local?
-
Repository August 14th, 2010 @ 12:23 PM
(from [4c2bbe9a1abfefacda71764ad583c0a302b1fc4e]) Moves local_request? to require.local?
[#5361 state:committed] http://github.com/rails/rails/commit/4c2bbe9a1abfefacda71764ad583c0...
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Tags
Referenced by
- 5361 ActionController::Base#local_request? removed [#5361 state:committed] http://github.com/rails/rails/co...
- 5361 ActionController::Base#local_request? removed [#5361 state:committed] http://github.com/rails/rails/co...
- 5361 ActionController::Base#local_request? removed [#5361 state:committed] http://github.com/rails/rails/co...