app/controllers/customers_controller.rb
def customer_params
      params.require(:customer).permit(
        :name,
        :identification,
        :email,
        :contact_person,
        :group,
        :invoicing_address,
        :shipping_address,
        :active,
        tag_list: []
      )
    end
# Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .
def customer_params
      params.require(:customer).permit(
        :name,
        :identification,
        :email,
        :contact_person,
        :group,
        :invoicing_address,
        :shipping_address,
        :active,
        tag_list: []
      )
    end
def customer_params params . require ( :customer ) . permit ( :name , :identification , :email , :contact_person , :group , :invoicing_address , :shipping_address , :active , tag_list : [ ] ) end
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .