Sha256: c18fd85a08ac481b392f130424acd9989923fcf230f9548908545465208a6e43
Contents?: true
Size: 560 Bytes
Versions: 1
Compression:
Stored size: 560 Bytes
Contents
# implementation idea taken from JDBC adapter if defined?(Rake.application) && Rake.application && ActiveRecord::Base.configurations[defined?(Rails.env) ? Rails.env : RAILS_ENV]['adapter'] == 'oracle_enhanced' oracle_enhanced_rakefile = File.dirname(__FILE__) + "/oracle_enhanced.rake" if Rake.application.lookup("environment") # rails tasks already defined; load the override tasks now load oracle_enhanced_rakefile else # rails tasks not loaded yet; load as an import Rake.application.add_import(oracle_enhanced_rakefile) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activerecord-oracle_enhanced-adapter-1.3.0 | lib/active_record/connection_adapters/oracle_enhanced_tasks.rb |