2012-04-24 22 views

答えて

0

すべての選択フィルタで無効にするためのmonkeypatchがあります。それをinitializers/active_admin.rbに貼り付けてください。

module ActiveAdmin 
    module Inputs 
    class FilterSelectInput < ::Formtastic::Inputs::SelectInput 

    def input_options 
     super.merge(:include_blank => false) 
    end 
    end 
    end 
end 
関連する問題