Commit f0c3cb75

mo khan <mo@mokhan.ca>
2014-10-29 03:18:56
specify tag context.
1 parent d7c6179
Changed files (1)
app
app/models/creation.rb
@@ -6,7 +6,7 @@ class Creation < ActiveRecord::Base
   has_many :photos, -> { order :created_at }, dependent: :destroy, as: :imageable
   has_many :favorites, :dependent => :destroy
   has_many :comments, dependent: :destroy
-  acts_as_taggable
+  acts_as_taggable_on :tags
   alias_method :author, :user
 
   default_scope -> { order(created_at: :desc) }