mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 02:05:57 +02:00
Bump epp-xml
This commit is contained in:
parent
545e828fdf
commit
3aa1992080
3 changed files with 10 additions and 8 deletions
|
@ -1,6 +1,8 @@
|
|||
module ApiLog
|
||||
class Db < ActiveRecord::Base
|
||||
self.abstract_class = true
|
||||
establish_connection "api_log_#{Rails.env}"
|
||||
# to_sym is needed because passing a string to ActiveRecord::Base.establish_connection
|
||||
# for a configuration lookup is deprecated
|
||||
establish_connection "api_log_#{Rails.env}".to_sym
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue