This project is archived and is in readonly mode.

#4889 ✓invalid
eveel

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

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>

Referenced by

Pages