Module: Mongoid
- Defined in:
- lib/mongoid/state_bits.rb,
lib/mongoid/state_bits/version.rb
Overview
class Post
include Mongoid::Document
include Mongoid::StateBits
state_bits %w{public commentable original}
or state_bits public: true, commentable: false end
Defined Under Namespace
Modules: StateBits