diff options
Diffstat (limited to 'lib/cert.rb')
-rw-r--r-- | lib/cert.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/cert.rb b/lib/cert.rb index c937fb8..80adfbb 100644 --- a/lib/cert.rb +++ b/lib/cert.rb @@ -15,6 +15,9 @@ class Cert < CouchRest::Model::Base validates :zipped, :presence => true + design do + end + def set_random self.random = rand end |