Sha256: 14b98484aff4c0e77b51bee57e7294db04caa509c0ea55e88c8cf90d2bcf22fa
Contents?: true
Size: 586 Bytes
Versions: 1
Compression:
Stored size: 586 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__)) require 'adapter_extensions/version' Dir[File.dirname(__FILE__) + "/active_record/**/*.rb"].each { |file| require(file) }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
adapter_extensions-0.1.0 | lib/adapter_extensions.rb |