zdennis/activerecord-import — pull request #173 by jthibeaux (2014-12-27 00:35:16+00:00)
Title: Use read_attribute_before_type_cast instead of #{name}_before_type_cast and allow enums to work

The Rails 4.1 enum library overrides the #{name}_before_type_cast methods so that they return strings that cannot be inserted into the integer columns. By making this change, the override is avoided and the code reads better anyway.

Addresses issue: https://github.com/zdennis/activerecord-import/issues/139