Update to rails 4.0.12
rails 4 cofig
Fix TypeError test

On rails 4+ if assigning a different type to a column it will raise a TypeError