2015-06-30から1日間の記事一覧
has_many :sales, through: product と has_many :sales, through: products の違い
delegate、あるいはhas_one, :throughを使う http://blog.toshimaru.net/belongs_to-through/has_one, :throughを使ったらいけた。
has_many :sales, through: product と has_many :sales, through: products の違い
delegate、あるいはhas_one, :throughを使う http://blog.toshimaru.net/belongs_to-through/has_one, :throughを使ったらいけた。