Commit 40be2caf9113cd88a12ca580c5ed41a727f1a0b6

Authored by Niklas
1 parent 8f9f01c5fc
Exists in master

FOO"

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

1 1 require 'active_record'
2 2  
3   -ActiveRecord::Base.establish_connection(YAML.read_file("database.yml"))
  3 +ActiveRecord::Base.establish_connection(YAML.load_file("database.yml"))
4 4  
5 5 class Expression < ActiveRecord::Base
6 6 belongs_to :filter