zdennis/activerecord-import — pull request #61 by benpickles (2012-08-20 09:25:04+00:00)
Title: Raise a useful message when passing validate: false and a value doesn't have a corresponding column

This results in a more friendly and useful error message than:

NoMethodError: undefined method `type_cast' for nil:NilClass

And is specific to the case where `validate: false` is passed as ActiveRecord would otherwise raise the error:

NoMethodError: undefined method `foo=' for #