shoulda-matchers
shoulda-matchers copied to clipboard
Update `validate_inclusion_of` warning message about boolean columns to include model name and column name
Problem this feature will solve
I run model spec on CI I see warnings like screenshot below but very hard to know where I should look at to update/remove those test cases
Desired solution
Add model name + column name and/or file path + line number for the line with validate_inclusion_of that triggers the warning
Alternatives considered
No idea