Sha256: e4cad2a11869b2254d7bfedd1aa7b42a45e7c9b546183929864e0b3fb1234050
Contents?: true
Size: 345 Bytes
Versions: 16
Compression:
Stored size: 345 Bytes
Contents
class Invoice < CouchRest::Model::Base # Set the default database to use use_database DB # Official Schema property :client_name property :employee_name property :location # Validation validates_presence_of :client_name, :employee_name validates_presence_of :location, :message => "Hey stupid!, you forgot the location" end
Version data entries
16 entries across 16 versions & 2 rubygems