create with has_many through association gets NoMethodError (undefined method `name' for nil:NilClass)

前端 未结 4 752
野性不改
野性不改 2020-12-10 12:28

I\'m doing this tutorial and am stuck in the Tagging part. Basically I have articles that can have a list of tags. As one article can has multiple tags and vice versa, there

4条回答
  •  抹茶落季
    2020-12-10 13:04

    Upgrade to Rails 4.0.13 (or later) or downgrading to Ruby 2.1.1 solves the problem.

提交回复
热议问题