mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
8 lines
162 B
Ruby
8 lines
162 B
Ruby
class Session
|
|
include Mongoid::Document
|
|
field :username, :type => String
|
|
field :password, :type => String
|
|
|
|
validates_presence_of :username, :password
|
|
end
|