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.

textile document code snippet error

#5779

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

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

State: resolved
Milestone: none
Assigned to: nobody
Importance: Low

Activity

  1. fooledbyprimes
    fooledbyprimes
    • Tag changed from textile doc guides typo snippet to textile doc guides typo snippet, patch

    October 11th, 2010 @ 03:42 AM

  2. Ryan Bigg
    Ryan Bigg
    • State changed from new to resolved
    • Importance changed from to Low

    Fixed in docrails/70ad6e499f405efb8b0a2e58c9742d4957c6b7c5

    October 11th, 2010 @ 03:56 AM

  3. fooledbyprimes
    fooledbyprimes

    Finally! I'm a rails committer!!! I'm SO STOKED! Thanks for holding my hand Ryan. F'in Hey to the Hell Yeah!!! I'm so inspired now...

    October 15th, 2010 @ 06:25 AM