Sha256: 71a087ce33cdce3f593382218b652e3ab3268862dc7f19e97247a6e4bde6fc02
Contents?: true
Size: 413 Bytes
Versions: 2
Compression:
Stored size: 413 Bytes
Contents
module Pbw class Area include ::Mongoid::Document include ::Mongoid::Timestamps field :name, type: String validates_presence_of :name validates_uniqueness_of :name has_and_belongs_to_many :user_tokens has_many :item_containers has_and_belongs_to_many :constraints has_and_belongs_to_many :processes has_and_belongs_to_many :triggers attr_accessible :name end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pbw-0.0.4 | app/models/pbw/area.rb |
pbw-0.0.3 | app/models/pbw/area.rb |