Fix rails4 Error: undefined method 'type_description' for nil:NilClass