Files
rails/activemodel/lib/active_model/core.rb
2009-04-22 17:07:04 -07:00

13 lines
359 B
Ruby

begin
require 'active_support'
rescue LoadError
activesupport_path = "#{File.dirname(__FILE__)}/../../../activesupport/lib"
if File.directory?(activesupport_path)
$:.unshift activesupport_path
require 'active_support'
end
end
# So far, we only need the string inflections and not the rest of ActiveSupport.
require 'active_support/inflector'