I'm pretty sure that this sort of thing is meant to work now in Rails3
require 'rubygems'
require 'active_support/core_ext/string/inflections'
"foo_bar".titleize
It doesn't, failing dependency on 'active_support/inflector' - here's
a ticket with (very simple) patch:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4067
--
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Core" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core?hl=en.