Sha256: 6550f694f91f38b9cbc157f1d46f6e00e6f0d302d3251c9f570be076c561debe

Contents?: true

Size: 343 Bytes

Versions: 1

Compression:

Stored size: 343 Bytes

Contents

# Secondbase model definition
#
# NOTE: By extending this model, you assume that the underlying table will be located in your Second (Data)base
module SecondBase
  
  class Base < ActiveRecord::Base
    establish_connection ActiveRecord::Base.configurations[SecondBase::CONNECTION_PREFIX][Rails.env]
  
    self.abstract_class = true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
secondbase-0.6.0 lib/secondbase/model.rb