This project is archived and is in readonly mode.
Rails 3.0.0.beta4 metal absent
Reported by eveel | June 17th, 2010 @ 03:32 PM
Rails 3.0.0.beta4 prevents from execution of Metal parts of Rails application, however 3.0.0.beta3 works very well.
# Allow the metal piece to run in isolation
require File.expand_path('../../../config/environment', __FILE__) unless defined?(Rails)
class TestBug < Sinatra::Application
include JetSpade::Accessor
get '/bug' do
content_type :text
status 200
'oh no not you again'
end
end
How to reproduce
- Take a Rails app
- Add any Metal part
- Try to access the metal-handled URL
- Enjoy the Routing Error
Comments and changes to this ticket
-
eveel June 17th, 2010 @ 03:33 PM
Sorry,
include JetSpade::Accessor
line should not be in this example, but it does not matters. -
DHH June 17th, 2010 @ 03:33 PM
- Assigned user set to Yehuda Katz (wycats)
-
Santiago Pastorino June 19th, 2010 @ 12:21 AM
- State changed from new to invalid
Metal was removed, you have an explaination of what to do on the commit message.
http://github.com/rails/rails/commit/ed34652d1aca148fea61c5309c1bd5... -
Jeff Kreeftmeijer November 8th, 2010 @ 08:25 AM
- Tag cleared.
- Importance changed from to Low
Automatic cleanup of spam.
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
Referenced by
- 4867 Metal apps not being called Ticket 4889 appears to be the same issue and has been ass...