missing_presence_validation: ignore counter cache columns#180
missing_presence_validation: ignore counter cache columns#180gregnavis merged 1 commit intogregnavis:masterfrom
Conversation
|
@gregnavis Can you please merge all the open PRs? |
|
Thanks for the nudge, @fatkodima! I won't merge them all today, as I'd like to see some changes made, but I definitely need to pay attention to the outstanding PRs. I left some comments on a few other PRs. Here, I'm not sure what to do with older Rails versions. I think we'll drop 4.2 soon (I'm sure you'd love that decision!), but that would require a new major release. For now, I suggest the following: Rails versions that fail in CI due to outdated APIs should:
@fatkodima, does that make sense? |
55443af to
bbbaada
Compare
|
Sorry, I am lazy and will wait when you drop the old version. Imo, you can easily drop activerecord < 7 and release v2 version of the gem. People on rails 4.2 don't care about best practices, so they are not the target audience of this gem. |
|
@fatkodima, you are not lazy at all! I totally understand supporting 4.2 is a total pain in the ass. I marked this and a few other PRs for 2.0. |
bbbaada to
4bc0eef
Compare
afcda83 to
4ee897c
Compare
This check produces false positives for counter cache columns.
These are expected to be set by ActiveRecord, not by users.