質問編集履歴

2

誤字修正2

2015/10/31 13:57

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -144,8 +144,6 @@
144
144
 
145
145
  belongs_to :taxonomisable, polymorphic: true
146
146
 
147
- # belongs_to :job
148
-
149
147
  belongs_to :contentable, polymorphic: true
150
148
 
151
149
  end

1

誤字修正

2015/10/31 13:57

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -72,9 +72,9 @@
72
72
 
73
73
  has_many :contents_taxonomies, :as => :contentable
74
74
 
75
- has_many :genres, through: :jobs_taxonomies, source: :taxonomisable, source_type: 'Genre'
75
+ has_many :genres, through: :contents_taxonomies, source: :taxonomisable, source_type: 'Genre'
76
-
76
+
77
- has_many :areas, through: :jobs_taxonomies, source: :taxonomisable, source_type: 'Area'
77
+ has_many :areas, through: :contents_taxonomies, source: :taxonomisable, source_type: 'Area'
78
78
 
79
79
  end
80
80
 
@@ -90,9 +90,9 @@
90
90
 
91
91
  has_many :contents_taxonomies, :as => :contentable
92
92
 
93
- has_many :genres, through: :jobs_taxonomies, source: :taxonomisable, source_type: 'Genre'
93
+ has_many :genres, through: :contents_taxonomies, source: :taxonomisable, source_type: 'Genre'
94
-
94
+
95
- has_many :areas, through: :jobs_taxonomies, source: :taxonomisable, source_type: 'Area'
95
+ has_many :areas, through: :contents_taxonomies, source: :taxonomisable, source_type: 'Area'
96
96
 
97
97
  end
98
98