This project is archived and is in readonly mode.

#4067 ✓committed
Jason King

require dependency for active_support/core_ext/string/inflections

Reported by Jason King | February 27th, 2010 @ 12:17 AM | in 3.0.2

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.

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>

People watching this ticket

Attachments

Referenced by

Pages