use type_for_attribute when available
column_for_attribute is deprecated in rails 4.2
Merge pull request #3487 from timoschilling/rails_4_2_deprecation

remove rails 4.2 deprecated method column_for_attribute