aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/core.rb
blob: b4b020defcb155e1c7e94568eb6387bdd4bec303 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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'