Undefined method “reorder” for # using ActiveAdmin

前端 未结 3 1738
南笙
南笙 2020-12-19 02:25

I have a problem with ActiveAdmin using Ruby ruby 1.9.2p290 and Ruby on Rails 3.2.1.

I used this wiki page to setup the resource for the AdminUsers that works perfec

3条回答
  •  别那么骄傲
    2020-12-19 03:26

    An easier solution is to just skip the filter in the particular active admin controller:

    ActiveAdmin.register Project do  
        controller do
          skip_before_filter :getActiveProjects
        end
    end
    

提交回复
热议问题