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
|
module ActiveRecord
|
||||||
mattr_accessor :shared_connection
|
class Base
|
||||||
@@shared_connection = nil
|
mattr_accessor :shared_connection
|
||||||
|
@@shared_connection = nil
|
||||||
|
|
||||||
def self.connection
|
def self.connection
|
||||||
@@shared_connection || retrieve_connection
|
@@shared_connection || retrieve_connection
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue