Taming ActiveRecord::RecordInvalid error Like a Pro
TL; DR: The best strategy is the one based on your needs.
Problem
The ActiveRecord::RecordInvalid error is an exception raised in Ruby on Rails when an ActiveRecord model fails to be saved to the database due to validation errors
How to handle?
Er...
blog.alexandrecalaca.com3 min read