How to set up these CRUD controller actions for has_many_polymorphs and an error

后端 未结 1 789
误落风尘
误落风尘 2021-01-27 11:40

I\'m using the has_many_polymorphs plugin so that videos, topics, and users can be posted to profiles. Therefore, a profile has many \"showable_objects\" which can be videos, to

1条回答
  •  时光说笑
    2021-01-27 12:24

    I've never used it, just presently doing some research, but I noticed that you have tagged your question with rails-3 and to my understanding, has_many_polymorphs doesn't work with it. I have found the following fork which might help with the error: has_many_polymorphs by jystewart for rails 3.

    0 讨论(0)
提交回复
热议问题