We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ec9870 commit 0019e5aCopy full SHA for 0019e5a
app/models/better_together/categorization.rb
@@ -2,7 +2,7 @@
2
3
module BetterTogether
4
class Categorization < ApplicationRecord # rubocop:todo Style/Documentation
5
- belongs_to :category
+ belongs_to :category, polymorphic: true
6
belongs_to :categorizable, polymorphic: true, touch: true
7
end
8
0 commit comments