aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/core.rb
blob: 6b2bee53d9d75d1116044d4c58b793a94701da91 (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'