mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
style fix
This commit is contained in:
parent
e06e0a5ca3
commit
e6cdb3a6ce
1 changed files with 7 additions and 5 deletions
|
|
@ -1,9 +1,11 @@
|
|||
class ActiveRecord::Base
|
||||
mattr_accessor :shared_connection
|
||||
@@shared_connection = nil
|
||||
module ActiveRecord
|
||||
class Base
|
||||
mattr_accessor :shared_connection
|
||||
@@shared_connection = nil
|
||||
|
||||
def self.connection
|
||||
@@shared_connection || retrieve_connection
|
||||
def self.connection
|
||||
@@shared_connection || retrieve_connection
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue