Sha256: 6ae19ded6feb7a202692c7b9052563fe97cb23b4696d0eedd288265c343e9321
Contents?: true
Size: 668 Bytes
Versions: 2
Compression:
Stored size: 668 Bytes
Contents
ADDITIONAL_LOAD_PATHS = [ "app/models", "app/controllers", "app/helpers", "config", "lib", "vendor", "vendor/railties", "vendor/railties/lib", "vendor/activerecord/lib", "vendor/actionpack/lib", "vendor/actionmailer/lib" ] ADDITIONAL_LOAD_PATHS.each { |dir| $:.unshift "#{File.dirname(__FILE__)}/../../#{dir}" } require 'active_record' require 'action_controller' require 'action_mailer' require 'yaml' ActionController::Base.template_root = ActionMailer::Base.template_root = File.dirname(__FILE__) + '/../../app/views/' def database_configurations YAML::load(File.open(File.dirname(__FILE__) + "/../../config/database.yml")) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails-0.8.5 | environments/shared.rb |
rails-0.8.0 | environments/shared.rb |