Sha256: d7cef12d8c48756c498469b2698ddaccd57974c4a6c47ad89c7dea34a5768f26

Contents?: true

Size: 435 Bytes

Versions: 2

Compression:

Stored size: 435 Bytes

Contents

require 'bundler/setup'
require 'combustion'

Combustion::Database.instance_eval do
  def setup(options)
    ActiveRecord::Base.configurations = YAML.load(ERB.new(File.read("#{Rails.root}/config/database.yml")).result)
  end
end

Combustion.initialize! :active_record, :action_controller do
  config.cache_classes = false
  config.log_level = :debug
end

load 'active_record/railties/databases.rake'
Combustion::Application.load_tasks

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activerecord_views-0.0.20 spec/internal/Rakefile
activerecord_views-0.0.19 spec/internal/Rakefile