Sha256: 0c828ca74b77dacbfb12bc2bc638f1d2ac370a82ddcb2a602346147e5862b0ad
Contents?: true
Size: 257 Bytes
Versions: 6
Compression:
Stored size: 257 Bytes
Contents
class Tenant < ActiveRecord::Base # load tenanted schema.rb file to provision new tenant after_create :load_schema # tell roomer if this is a shared model roomer :shared protected def load_schema Roomer::Schema.load(schema_name) end end
Version data entries
6 entries across 6 versions & 1 rubygems