Skip to content

Conversation

Fire-Dragon-DoL
Copy link
Contributor

Adds a few lines of documentation regarding having to use ransackable_attributes to enable filtering

Enhances #7809
Discussion in PR #8009 (comment)

@codecov
Copy link

codecov bot commented Aug 3, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (5714844) 99.04% compared to head (fe2320b) 99.04%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #8043   +/-   ##
=======================================
  Coverage   99.04%   99.04%           
=======================================
  Files         185      185           
  Lines        4730     4730           
=======================================
  Hits         4685     4685           
  Misses         45       45           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@javierjulio javierjulio force-pushed the 7809-ransack-allowlist-in-documentation branch from 0bcce72 to fe2320b Compare August 12, 2023 16:44
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!

@javierjulio javierjulio merged commit 55830b3 into activeadmin:master Aug 12, 2023
@Fire-Dragon-DoL Fire-Dragon-DoL deleted the 7809-ransack-allowlist-in-documentation branch August 12, 2023 16:53
javierjulio added a commit that referenced this pull request Oct 9, 2023
* Remove link rake task

All except for one was to do with whitespace. We want to reduce code footprint and use off-the-shelf tools for basic checks like these. Since they aren't critical we are fine without replacements other than what eslint and rubocop already offer.

The sass-rails lint was for webpacker but we have already removed webpacker support. We won't be using any images or asset URLs in the new v4 approach for assets.

* Add metadata to activeadmin.gemspec (#8012)

* Optimize data generation with insert_all

* Mention Ransack allowlist in documentation (#8043)

* Update .gitignore

* Update all outdated dependencies

Ran `bin/bundle update`

Ran `yarn upgrade-interactive --latest`

Note this updates the default gemfile to use Rails 7.1 but we are good with that for our 3-0-stable branch.

---------

Co-authored-by: John DeSilva <desilvjo@umich.edu>
Co-authored-by: Francesco Belladonna <francesco@fc5.me>
faizaankhan pushed a commit to bugcrowd/activeadmin that referenced this pull request Dec 28, 2023
* Remove link rake task

All except for one was to do with whitespace. We want to reduce code footprint and use off-the-shelf tools for basic checks like these. Since they aren't critical we are fine without replacements other than what eslint and rubocop already offer.

The sass-rails lint was for webpacker but we have already removed webpacker support. We won't be using any images or asset URLs in the new v4 approach for assets.

* Add metadata to activeadmin.gemspec (activeadmin#8012)

* Optimize data generation with insert_all

* Mention Ransack allowlist in documentation (activeadmin#8043)

* Update .gitignore

* Update all outdated dependencies

Ran `bin/bundle update`

Ran `yarn upgrade-interactive --latest`

Note this updates the default gemfile to use Rails 7.1 but we are good with that for our 3-0-stable branch.

---------

Co-authored-by: John DeSilva <desilvjo@umich.edu>
Co-authored-by: Francesco Belladonna <francesco@fc5.me>
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.

2 participants