Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Rails 3.0.0.beta4 metal absent

#4889

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

Reported by eveel · June 17th, 2010 @ 03:32 PM

State: invalid
Milestone: none
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: Low

Activity

  1. eveel
    eveel

    Sorry, include JetSpade::Accessor line should not be in this example, but it does not matters.

    June 17th, 2010 @ 03:33 PM

  2. DHH
    DHH
    • Assigned user set to Yehuda Katz (wycats)

    June 17th, 2010 @ 03:33 PM

  3. Santiago Pastorino
    Santiago Pastorino
    • 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...

    June 19th, 2010 @ 12:21 AM

  4. eveel
  5. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag cleared.
    • Importance changed from to Low

    Automatic cleanup of spam.

    November 8th, 2010 @ 08:25 AM