Xavi Vila


1,950 Experience
19 Lessons Completed
0 Questions Solved


Posted in Which is the best place to put a custom validator class ?

For a custom validator like in https://guides.rubyonrails.org/active_record_validations.html#custom-validators

Maybe app/validators ?
Maybe app/models ?
Some other place?

Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

© 2024 GoRails, LLC. All rights reserved.