I can't create user fields


(Robinson Rodríguez) #1

I’m trying to create user fields for user’s sign up. But I’m getting the next in the production logs

Started POST "/admin/customize/user_fields" for at 2015-07-09 19:45:22 +0000
Processing by Admin::UserFieldsController#create as */*
  Parameters: {"user_field"=>{"name"=>"Nombre", "description"=>"", "field_type"=>"text", "required"=>"true"}}
Completed 422 Unprocessable Entity in 34ms (Views: 0.4ms | ActiveRecord: 8.2ms)

(Robinson Rodríguez) #2

The problem was that I was not filling up the description of the field. The only way of realize this was debugging in the controller.

(Jeff Atwood) #3

Still that might be a bug, can you check tomorrow @eviltrout?

(Robin Ward) #4

This was a bug with the error message not being properly displayed. Fixed it here:


(Jeff Atwood) #5