Matchu
1d5af835a5
No user-facing functionality here yet, just configuring the database connection to work with openneo_id records. This is a first step in integrating Devise stuff into this app instead of connecting with a weird second app. My basic testing for this was to temporarily connect to production `openneo_id`, and see `AuthUser.first` correctly return a user!
5 lines
No EOL
139 B
Ruby
5 lines
No EOL
139 B
Ruby
class AuthRecord < ApplicationRecord
|
|
self.abstract_class = true
|
|
|
|
connects_to database: {reading: :openneo_id, writing: :openneo_id}
|
|
end |