shoulda-matchers icon indicating copy to clipboard operation
shoulda-matchers copied to clipboard

Update `validate_inclusion_of` warning message about boolean columns to include model name and column name

Open PikachuEXE opened this issue 1 month ago • 0 comments

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

Image

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

Additional context

PikachuEXE avatar Nov 17 '25 07:11 PikachuEXE