app/models/inkwell/favorite_item.rb in inkwell-1.0.5 vs app/models/inkwell/favorite_item.rb in inkwell-1.1.1
- old
+ new
@@ -1,6 +1,5 @@
module Inkwell
class FavoriteItem < ActiveRecord::Base
- attr_accessible :item_id, :user_id, :is_comment, :created_at, :updated_at
- belongs_to ::Inkwell::Engine::config.user_table.to_s.singularize
+ attr_accessible :item_id, :owner_id, :item_type, :created_at, :updated_at, :owner_type
end
end