Sha256: a34b082ef04b08888e7470c0065250ebd3fbbec2ac5774cf9984646b63e1ed4c

Contents?: true

Size: 159 Bytes

Versions: 7

Compression:

Stored size: 159 Bytes

Contents

module Borutus
  module NoTenancy
    extend ActiveSupport::Concern

    included do
      validates :name, presence: true, uniqueness: true
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
borutus-1.0.0 app/models/borutus/no_tenancy.rb
borutus-0.2.4 app/models/borutus/no_tenancy.rb
borutus-0.2.3 app/models/borutus/no_tenancy.rb
borutus-0.2.2 app/models/borutus/no_tenancy.rb
borutus-0.2.1 app/models/borutus/no_tenancy.rb
borutus-0.2.0 app/models/borutus/no_tenancy.rb
borutus-0.1.0 app/models/borutus/no_tenancy.rb