app/controllers/groups_controller.rb
# Only allow a trusted parameter "white list" through.
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .
def group_params
      params.require(:group).permit(
        :description, 
        :children_label,
        :parent_id,
        :code,
        :address,
        :cep,
        :phone,
        :email,
        :group_manager_id,
        :location_name_godata,
        :location_id_godata
      )
    end
def group_params params . require ( :group ) . permit ( :description , :children_label , :parent_id , :code , :address , :cep , :phone , :email , :group_manager_id , :location_name_godata , :location_id_godata ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .