Sha256: b3cf61b19375e03631c6e409a8fcf94be44cee9bd2c900cd7d75c3b2300a8bf3

Contents?: true

Size: 656 Bytes

Versions: 15

Compression:

Stored size: 656 Bytes

Contents

# Used just for Rails 2.x
# In Rails 3.x rake tasks are loaded using railtie
if ActiveRecord::VERSION::MAJOR == 2

  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

end

Version data entries

15 entries across 15 versions & 4 rubygems

Version Path
activerecord-oracle_enhanced-adapter-1.4.3 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.4.3.rc2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.4.3.rc1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-with-schema-0.0.2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-with-schema-0.0.1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.4.2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.4.2.rc2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
pmacs-activerecord-oracle_enhanced-adapter-1.4.2.rc1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.4.2.rc1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
ctreatma-activerecord-oracle_enhanced-adapter-1.4.1.2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
ctreatma-activerecord-oracle_enhanced-adapter-1.4.1.1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.4.1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.4.0 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.3.2 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb
activerecord-oracle_enhanced-adapter-1.3.1 lib/active_record/connection_adapters/oracle_enhanced_tasks.rb