Closed kivanio closed 9 months ago
After upgrade to 5.3.0 I start to see this kind of error at CI:
ActionView::Template::Error undefined method `arity' for :fine_by_percentage?:Symbol \e[1mFailure/Error: \e[0m= f.text_field :fine_percentage
It complains about this if: :fine_by_percentage? in model:
if: :fine_by_percentage?
validates :fine_percentage, presence: true, numericality: { greater_than_or_equal_to: 0.01, less_than: 100 }, if: :fine_by_percentage?
@kivanio I will take a look.
I have found the error. Will fix and release shortly.
@kivanio Could you try version 5.3.1 ?
@donv It is fixed.
Thank you 🙏🏻
After upgrade to 5.3.0 I start to see this kind of error at CI:
It complains about this
if: :fine_by_percentage?
in model: