use ActiveRecord::ConnectionAdapters::Column::TRUE_VALUES instead of value_to_boolean, if it's defined.
Merge pull request #3 from ukstudio/rails42

Rails 4.2 support.