Whiny_persistence should be true as default
Open
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 5.2k
- Forks
- 644
- PR merge metrics
- No merged PRs in 30d
Description
Is your feature request related to a problem? Please describe.
I wasn't aware that the events with bangs didn't raise an error when validation fails.
This is unconsistent with ActiveRecord methods' behaviour.
Describe the solution you'd like
- Whiny_persistence's default value should be true
- It should be possible to change the defaults application-wide in an initializer.
Describe alternatives you've considered
Doesn't apply
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the whiny_persistence setting and the ActiveRecord integration, then inspect how application-wide defaults are currently configured. Done means bang events raise on validation failure by default and an initializer can override that default; add or update the relevant tests for both behaviors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100