diff options
| author | mo k <mo@mokhan.ca> | 2012-09-06 07:59:40 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-09-06 07:59:40 -0600 |
| commit | 0844c47d1104e874bab6d2a64d17573b25e2052d (patch) | |
| tree | 7c16711eb2b1bfff9e93d6679eb0d539692f9793 /app/models/tutorial.rb | |
| parent | 694b2b8dc71f171bf08b6d549381c558d66b349f (diff) | |
associate a tutorial with the user signed in.
Diffstat (limited to 'app/models/tutorial.rb')
| -rw-r--r-- | app/models/tutorial.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/tutorial.rb b/app/models/tutorial.rb index 0b161eb6..25adf9d8 100644 --- a/app/models/tutorial.rb +++ b/app/models/tutorial.rb @@ -1,3 +1,4 @@ class Tutorial < ActiveRecord::Base attr_accessible :description, :heading, :url + belongs_to :user end |
