Closed ankane closed 2 weeks ago
Updated to only apply to Rails 7.2+ for backwards compatibility (as suggested in #138).
Edit: Also, sorry for all the noise.
No need to apologise, appreciate you working on this!
I wonder if it's worth releasing this starting from 7.2+ initially (so it's not a breaking change) to confirm things work well, but then consider using it for 5.1+ as a major release/breaking change, and then that opens up removal of a couple of conditionals:
Not as many as I'd hoped, though! But still, I think it's worth the breaking change, as verifying we're using default behaviour in each release is a Very Good Idea.
Sounds like a plan. fwiw, I've been doing this for a few months for my projects and haven't seen any issues (as one data point).
Finally published this in v1.5.0 - thanks for your patience (and contributions!) ❤️
Great, thanks @pat!
For #138
load_defaults
was added in Rails 5.1: https://github.com/rails/rails/pull/28469Also, this might be considered a breaking change.