The Gnar Blog - Validate CSV Input With ActiveModel::Validations
22-Jul-2021 1300
We're maintaining a system that tracks information about books, including their publication dates. On occasion, publishers will send us CSVs with updated publication dates, and we need to update our Rails application to have those dates.We want a repeatable process, so rather than updating these by hand, let's use Ruby's CSV class to parse this data.
The Gnar Blog - Validate CSV Input With ActiveModel::Validations #ruby #rubydeveloper #rubyonrails #Validate #Input #ActiveModel::Validations #activemodel::validations #blog https://rubyonrails.ba/link/the-gnar-blog-validate-csv-input-with-activemodel-validations