Osmar Luz

Results 2 comments of Osmar Luz

For anyone that might come across this need, the documentation mentions this on section https://github.com/aasm/aasm#bang-events, more specifically this part: > Also You can skip the validation at instance level with...

@sbrocos there's an issue with the initialization of the matcher class `ActiveStorageValidations::Matchers::AspectRatioValidatorMatcher`. As a workaround you can do this: ```ruby it { is_expected.to ActiveStorageValidations::Matchers::AspectRatioValidatorMatcher.new(:cover).allowing(:square) } ``` Hope this helps! o/