Sha256: 819b0c9447aa32551b09da3a3b6f1b7d6559d01d0841fb2e9b36a9d8a79683ff
Contents?: true
Size: 554 Bytes
Versions: 7
Compression:
Stored size: 554 Bytes
Contents
# Extensions to the Rails ActiveRecord adapters. # # Requiring this file will require all of the necessary files to function. puts "Using AdapterExtensions" require 'rubygems' unless Kernel.respond_to?(:gem) Kernel.send :alias_method, :gem, :require_gem end unless defined?(ActiveSupport) gem 'activesupport' require 'active_support' end unless defined?(ActiveRecord) gem 'activerecord' require 'active_record' end $:.unshift(File.dirname(__FILE__)) Dir[File.dirname(__FILE__) + "/adapter_extensions/**/*.rb"].each { |file| require(file) }
Version data entries
7 entries across 7 versions & 2 rubygems