add the default value to filter
#set to admin/user.rb before_action :only => [:index] do if params['commit'].blank? params['q'] = {:is_acticve => true} end end