Sha256: e4f17aaae85f0e93ffeb38d110906fe0df5c8077774a79d6a23aca5539167486

Contents?: true

Size: 522 Bytes

Versions: 2

Compression:

Stored size: 522 Bytes

Contents

# implementation idea taken from JDBC adapter
if defined?(Rake.application) && Rake.application && ActiveRecord::Base.configurations[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

2 entries across 2 versions & 1 rubygems

Version Path
oracle_enhanced-1.3.0.pre2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
oracle_enhanced-1.3.0.pre lib/active_record/connection_adapters/oracle_enhanced_tasks.rb