Skip to content

Fix filter_columns_for_large_association and filter_method_for_large_association examples#6232

Merged
deivid-rodriguez merged 1 commit intoactiveadmin:masterfrom
DocSpring:fix_active_admin_rb_erb
May 18, 2020
Merged

Fix filter_columns_for_large_association and filter_method_for_large_association examples#6232
deivid-rodriguez merged 1 commit intoactiveadmin:masterfrom
DocSpring:fix_active_admin_rb_erb

Conversation

@ndbroadbent
Copy link
Contributor

I was just checking out the new maximum_association_filter_arity, filter_columns_for_large_association, filter_method_for_large_association options from #5548, which look like they will be a huge help! I think maximum_association_filter_arity should definitely be set to a sane maximum by default.

I copied these lines into my config/initializers/active_admin.rb and uncommented them, and saw that there was a syntax error. (, should be =). So I just thought I would send a PR to fix that!

…association examples in install/templates/active_admin.rb.erb
Copy link
Member

@javierjulio javierjulio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! ❤️

@deivid-rodriguez deivid-rodriguez merged commit d67b63c into activeadmin:master May 18, 2020
@deivid-rodriguez
Copy link
Member

Thanks! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants