Skip to content

Restore caching in RailsAdmin::Config::Model#excluded?#3587

Merged
mshibuya merged 1 commit into
railsadminteam:masterfrom
jdufresne:restore-caching
Jan 12, 2023
Merged

Restore caching in RailsAdmin::Config::Model#excluded?#3587
mshibuya merged 1 commit into
railsadminteam:masterfrom
jdufresne:restore-caching

Conversation

@jdufresne

Copy link
Copy Markdown
Member

Partially reverts 2fa86c3. The commit introduced a regression such that RailsAdmin::Config::Model#excluded? stopped caching false values.

@coveralls

coveralls commented Jan 7, 2023

Copy link
Copy Markdown

Coverage Status

Changes unknown
when pulling 0935915 on jdufresne:restore-caching
into ** on railsadminteam:master**.

@mshibuya

mshibuya commented Jan 8, 2023

Copy link
Copy Markdown
Member

Can this behavior tested in the spec, so we don't accidentally disable it again?

Partially reverts 2fa86c3. The commit
introduced a regression such that RailsAdmin::Config::Model#excluded?
stopped caching false values.
@jdufresne

Copy link
Copy Markdown
Member Author

@mshibuya Good call. Amended an existing test in the latest push that demonstrates the caching.

@mshibuya mshibuya merged commit edd9f24 into railsadminteam:master Jan 12, 2023
@mshibuya

Copy link
Copy Markdown
Member

Thank you 👍

jklimke added a commit to 3dcl/rails_admin that referenced this pull request Jun 27, 2023
* 'master' of github.com:railsadminteam/rails_admin: (53 commits)
  fix is_blank and is_present filters for uuid columns (railsadminteam#3629)
  Add support for '%-l' option to Flatpickr. (railsadminteam#3616)
  Fix polymorphic association target classes not set correctly in subclasses
  Fix multiple_carrierwave field spec failing due to mocking
  Fix webpacker build
  Relax Rubocop Metrics/ClassLength threshold
  Version 3.1.2
  Postpone introduction of the new event name `rails_admin:dom_ready`
  Fix install failing with importmap setup
  Fix to show non-eager-loaded models which are explicitly configured
  Change dom_ready event name to use colon as the separator
  Restore caching in RailsAdmin::Config::Model#excluded? (railsadminteam#3587)
  Update GitHub Actions Badge URL
  Optimize file path to class name conversion (railsadminteam#3589)
  Switch to the safe navigation operator in spec files (railsadminteam#3588)
  Fix typo: Envinronment ==> Environment (railsadminteam#3586)
  Enable RuboCop Style/Encoding and apply auto-fixes (railsadminteam#3585)
  Add CI testing for Ruby 3.2 (railsadminteam#3583)
  Version 3.1.1
  Fix some typos (railsadminteam#3580)
  ...
@jdufresne jdufresne deleted the restore-caching branch June 13, 2024 20:50
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.

4 participants