Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove inspect config added in error #1673

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

DavidBiddle
Copy link
Contributor

@DavidBiddle DavidBiddle commented Dec 17, 2024

What problem does this pull request solve?

Trello card:

Removes the config.active_record.attributes_for_inspect item set by the Rails app:update script - we use inspect in production for one of the organisation rake tasks, so this config change doesn't work for us.

I added this in error when making the update to Rails 8.0.1 - it was a change from an earlier Rails update.

Thanks @chao-xian for spotting this!

Things to consider when reviewing

  • Ensure that you consider the wider context.
  • Does it work when run on your machine?
  • Is it clear what the code is doing?
  • Do the commit messages explain why the changes were made?
  • Are there all the unit tests needed?
  • Has all relevant documentation been updated?

@DavidBiddle DavidBiddle marked this pull request as ready for review December 18, 2024 08:31
Copy link
Contributor

@thomasiles thomasiles left a comment

Choose a reason for hiding this comment

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

makes sense 👍

Removes the `config.active_record.attributes_for_inspect` item set by
the Rails app:update script - we use inspect in production for one of
the organisation rake tasks, so this config change doesn't work for us.

I added this in error when making the update to Rails 8.0.1 - it was a
change from an earlier Rails update.
@DavidBiddle DavidBiddle force-pushed the remove-id-inspect-config branch from 8d43fc1 to a60fc3d Compare December 18, 2024 10:35
@DavidBiddle DavidBiddle merged commit 5b0a264 into main Dec 18, 2024
4 checks passed
@DavidBiddle DavidBiddle deleted the remove-id-inspect-config branch December 18, 2024 10:40
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