dfdcd79a58
Usage: class Invoice < CouchRest::ExtendedDocument include CouchRest::Validation property :client_name property :employee_name property :location # Validation validates_present :client_name, :employee_name validates_present :location, :message => "Hey stupid!, you forgot the location" end |
||
---|---|---|
.. | ||
attachments.rb | ||
design_doc.rb | ||
document_queries.rb | ||
extended_document_mixins.rb | ||
properties.rb | ||
validation.rb | ||
views.rb |