mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 03:37:40 +00:00
- authentication routes are glitchy - custom devise views are not being displayed properly - routing issues and custom fields for devise routes and models
11 lines
284 B
Ruby
11 lines
284 B
Ruby
class Result < ApplicationRecord
|
|
#establish_connection(:"stats_#{Rails.env}")
|
|
Result.establish_connection(
|
|
:adapter => "mysql2",
|
|
:host => ENV['STATS_DB_URL'],
|
|
:username => ENV['STATS_DB_USER'],
|
|
:password => ENV['STATS_DB_PASS'],
|
|
:database => "main"
|
|
)
|
|
end
|