Sha256: 2387d5cc98abec3d5325b72dfec91424114ee387b8b6d5807bf1518ea1233121

Contents?: true

Size: 522 Bytes

Versions: 7

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

7 entries across 7 versions & 5 rubygems

Version Path
plukevdh-activerecord-oracle_enhanced-adapter-1.2.1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
unclebilly-activerecord-oracle_enhanced-adapter-1.2.4 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
c3-activerecord-oracle_enhanced-adapter-1.2.4 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
oracle_enhanced-1.2.5 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.2.4 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.2.3 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.2.2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb