diff options
| author | simon <simon@zagal.(none)> | 2009-02-12 00:06:36 +0100 |
|---|---|---|
| committer | hukl <hukl@eight.local> | 2009-02-15 20:22:19 +0100 |
| commit | 0a04dcd23b4e9ef71586e131a646decee2a67061 (patch) | |
| tree | c5d58fcc9770ac05abec73544e30e3ad2a27a7c7 /app/models/permission.rb | |
| parent | f10e79a554bd0666de6390c4bc34b52c8ecd936d (diff) | |
* added missing associations
Diffstat (limited to 'app/models/permission.rb')
| -rw-r--r-- | app/models/permission.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/permission.rb b/app/models/permission.rb index 1070b7a..3914c9c 100644 --- a/app/models/permission.rb +++ b/app/models/permission.rb | |||
| @@ -1,4 +1,5 @@ | |||
| 1 | class Permission < ActiveRecord::Base | 1 | class Permission < ActiveRecord::Base |
| 2 | # Validations | ||
| 2 | validates_presence_of :user_id, :node_id, :granted | 3 | validates_presence_of :user_id, :node_id, :granted |
| 3 | 4 | ||
| 4 | # Associations | 5 | # Associations |
