Sha256: dae61ece9e2575eb57f8ef25e398f6bfc792f9f54751682bccdc96714ad3da77

Contents?: true

Size: 214 Bytes

Versions: 1

Compression:

Stored size: 214 Bytes

Contents

config = YAML.load_file(File.join(File.dirname(__FILE__), 'database.yml'))
env = DeploySetting.environment.to_s

ActiveRecord::Base.establish_connection(config[env])
ActiveRecord::Base.include_root_in_json = false

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dindi-1.0 lib/dindi/file_templates/shared/active_record_setting.rb.erb