diff options
| author | mo khan <mo@mokhan.ca> | 2015-02-21 12:36:27 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-02-21 12:36:27 -0700 |
| commit | df3daf73da872a6872582fa925ffae29f6fdca6b (patch) | |
| tree | 402b52221f35d7176b996c31ebc5956bb3d39da8 /app/models | |
| parent | 6ada62adfd2b60e3af4f721ed8e09a5658920fa6 (diff) | |
fix users table schema.
Diffstat (limited to 'app/models')
| -rw-r--r-- | app/models/user.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 40f0705..cac42c8 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -1,3 +1,4 @@ class User < ActiveRecord::Base has_secure_password + validates_presence_of :username end |
