style fix

This commit is contained in:
Stella Rouzi 2014-08-07 09:19:58 +03:00
parent e06e0a5ca3
commit e6cdb3a6ce

View file

@ -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