Sha256: 8e3bae2792273b17b39980d4ed293757c083b1d7225f9d28cfef398bb6b1a5d0
Contents?: true
Size: 292 Bytes
Versions: 4
Compression:
Stored size: 292 Bytes
Contents
class UserAccount include Mongoid::Document field :username field :email validates_uniqueness_of :username, :message => "is not unique" validates_uniqueness_of :email, :message => "is not unique", :case_sensitive => false referenced_in :person, :inverse_of => :user_accounts end
Version data entries
4 entries across 4 versions & 1 rubygems