lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-2.3.1 vs lib/generators/active_admin/install/templates/active_admin.rb.erb in activeadmin-2.4.0
- old
+ new
@@ -284,14 +284,27 @@
# You can enable or disable them for all resources here.
#
# config.filters = true
#
# By default the filters include associations in a select, which means
- # that every record will be loaded for each association.
+ # that every record will be loaded for each association (up
+ # to the value of config.maximum_association_filter_arity).
# You can enabled or disable the inclusion
# of those filters by default here.
#
# config.include_default_association_filters = true
+
+ # config.maximum_association_filter_arity = 256 # default value of :unlimited will change to 256 in a future version
+ # config.filter_columns_for_large_association, [
+ # :display_name,
+ # :full_name,
+ # :name,
+ # :username,
+ # :login,
+ # :title,
+ # :email,
+ # ]
+ # config.filter_method_for_large_association, '_starts_with'
# == Head
#
# You can add your own content to the site head like analytics. Make sure
# you only pass content you trust.