Sha256: 7321303fd02deef5fd12e45e54947e7de3beaef97a4762fa6c9c1e631e7d658d
Contents?: true
Size: 275 Bytes
Versions: 23
Compression:
Stored size: 275 Bytes
Contents
module Other class Base < ActiveRecord::Base establish_connection "naf_#{Rails.env}" self.abstract_class = true def self.reset_warehousing_connection self.connection.disconnect! self.establish_connection "warehousing_#{Rails.env}" end end end
Version data entries
23 entries across 23 versions & 1 rubygems
Version | Path |
---|---|
naf-1.1.2 | spec/dummy/app/models/other/base.rb.sample |
naf-1.1.1 | spec/dummy/app/models/other/base.rb.sample |
naf-1.1.0 | spec/dummy/app/models/other/base.rb.sample |