Fix form field error in Rails 4