Okechi Onyeje 9d17166e8f Dashboard integrated but with errors
- authentication routes are glitchy
- custom devise views are not being displayed properly
- routing issues and custom fields for devise routes and models
2017-01-19 15:42:49 -05:00

12 lines
319 B
Ruby

class Oyster < ApplicationRecord
belongs_to :run
#Oyster.establish_connection(:"stats_#{Rails.env}")
Oyster.establish_connection(
:adapter => "mysql2",
:host => ENV['STATS_DB_URL'],
:username => ENV['STATS_DB_USER'],
:password => ENV['STATS_DB_PASS'],
:database => "main"
)
end