How to get ActiveAdmin to work with Strong Parameters?

后端 未结 6 1616
鱼传尺愫
鱼传尺愫 2020-12-13 02:01

Update: this question was asked before there was a solution for it already in ActiveAdmin. As Joseph states, the ActiveAdmin documentation now contains this information,

6条回答
  •  生来不讨喜
    2020-12-13 02:39

    The documentation now clearly states how to go about Setting up Strong Parameters in Rails 4. See:

    https://github.com/gregbell/active_admin/blob/master/docs/2-resource-customization.md#setting-up-strong-parameters

提交回复
热议问题