A dataset I’m working with has bad dates in it (2010-00-09 for
example). This causes Mysql2 to throw an error at the adapter level.
How am I supposed to catch it so I can handle it correctly? I don’t
think it fails in ActiveRecord land, so I’m not sure how to handle it.
I figured since Rails 3 uses it by default, someone here would have
some experience.
I know I could fix the data, but I’m not sure when/if another batch
will come in like that and I want to make sure my app is bulletproof.