aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/errors_controller.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-07-17 18:19:23 +0200
committerTeddy Wing2017-07-21 15:59:53 +0200
commit0166ef93691416b687091c4ff0aa6fb308a449e2 (patch)
treea020939742335e0df4809afd1aa5fedfba0d0d23 /app/controllers/errors_controller.rb
parent161f3184783ba3419238d3ce6b2291ef9fabfa01 (diff)
downloadchouette-core-0166ef93691416b687091c4ff0aa6fb308a449e2.tar.bz2
VehicleJourneyAtStop: Add validation messages to day offset validator
Since we can't use the lambda syntax when passing a message to a validator, write a custom validation method that allows us to be more flexible when setting a message. The correct message with the correct data is now used for the offset error. This eliminates our validation of `numberiality`, making our two validation specs no longer valid. Refs #3597
Diffstat (limited to 'app/controllers/errors_controller.rb')
0 files changed, 0 insertions, 0 deletions