diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-01 18:51:29 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-01 18:51:29 -0700 |
| commit | 20e9141069e497623b24561634656043326d7ae3 (patch) | |
| tree | ef1f33956cf03f4ad5d969affc248ef478de0c81 /app/models/tutorial.rb | |
| parent | 758e7f74f8a46652a75d00b8d69a023e0b9865ea (diff) | |
add public activity gem
Diffstat (limited to 'app/models/tutorial.rb')
| -rw-r--r-- | app/models/tutorial.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/tutorial.rb b/app/models/tutorial.rb index 311ccc64..e8c3fa95 100644 --- a/app/models/tutorial.rb +++ b/app/models/tutorial.rb @@ -1,4 +1,6 @@ class Tutorial < ActiveRecord::Base + include PublicActivity::Model + tracked attr_accessible :description, :heading, :url, :image_url, :user_id, :author, :author_url validates :url, :presence => true belongs_to :user |
