This project is archived and is in readonly mode.

#4264 ✓committed
Josh Susser

find railties by name

Reported by Josh Susser | March 25th, 2010 @ 06:18 AM | in 3.0.2

Very simple 1-liner method to find railties and engines by name.

module Rotary
  class Wankle < Rails::Engine
    engine_name :wankle
  end
end
Rails::Engine.named(:wankle) # => Rotary::Wankle

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>

Pages