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.

require dependency for active_support/core_ext/string/inflections

#4067

The following code fails:

require 'active_support/core_ext/string/inflections'
"foo_bar".titleize

With:

NameError: uninitialized constant String::ActiveSupport
    from /opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.0.0.beta/lib/active_support/core_ext/string/inflections.rb:57:in `titleize'

Checking the inflections.rb file, it has an unresolved dependency. Patch following.

Reported by Jason King · February 27th, 2010 @ 12:17 AM

State: committed
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Low