diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-26 18:35:01 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-26 18:35:01 -0600 |
| commit | 04e227b70876e91087710256e3908da148c9a896 (patch) | |
| tree | 2035b31aa40dce4f2d5d24b10da9f81e3053f21f /app/models/tutorial.rb | |
| parent | 6e1d9a71afb625753a6778862d0a51eed0d32246 (diff) | |
remove protected_attributes and fix creation_tags_controller_spec
Diffstat (limited to 'app/models/tutorial.rb')
| -rw-r--r-- | app/models/tutorial.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/tutorial.rb b/app/models/tutorial.rb index b7d11c49..4b9f498a 100644 --- a/app/models/tutorial.rb +++ b/app/models/tutorial.rb @@ -1,5 +1,5 @@ class Tutorial < ActiveRecord::Base - attr_accessible :description, :heading, :url, :image_url, :user_id, :author, :author_url + #attr_accessible :description, :heading, :url, :image_url, :user_id, :author, :author_url validates :url, :presence => true belongs_to :user acts_as_taggable |
