add activerecord require to connnection.rb
activerecord