Fixing deprecation warning for nil columns in Rails 4.2.beta1