2019-03-14から1日間の記事一覧
tl;dr has_manyを使ってデータを取得したかった has_manyには記述する順番がある エラー内容 Cannot have a has_many :through association 'Hoge#fuga' which goes through 'Hoge#hoge_fuga' before the through association is defined. 発生の状況 ユーザ…
tl;dr has_manyを使ってデータを取得したかった has_manyには記述する順番がある エラー内容 Cannot have a has_many :through association 'Hoge#fuga' which goes through 'Hoge#hoge_fuga' before the through association is defined. 発生の状況 ユーザ…