This project is archived and is in readonly mode.

#5779 ✓resolved
fooledbyprimes

textile document code snippet error

Reported by fooledbyprimes | October 11th, 2010 @ 03:25 AM

Within the textile file found at [rails/railties/guides/source/initialization.textile], we have the line that reads as follows:

class Plugin < Railtie

The above line of text is shown in the following expanded excerpt:

+Rails::Plugin::Configuration.default+

The +Rails::Plugin::Configuration+ class may be a bit difficult to find at first, but if you look for plugin.rb in Rails, you'll find it in railties/lib/rails/plugin.rb. In this file, we see the following:


module Rails

class Plugin < Railtie
  ...
end

end

However, the line of text should read as follows:

class Plugin < Engine

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>

Attachments

Pages