Sha256: a754996dabad40b20b5ef2d5b80f32eb98e01d8adaad557e571e96b279123c81

Contents?: true

Size: 168 Bytes

Versions: 2

Compression:

Stored size: 168 Bytes

Contents

class GlobalProject < ActiveRecord::Base
  self.table_name = "projects"

  acts_as_tenant :account, has_global_records: true
  validates_uniqueness_to_tenant :name
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_tenant-0.5.1 spec/dummy/app/models/global_project.rb
acts_as_tenant-0.5.0 spec/dummy/app/models/global_project.rb