app/controllers/organizations_controller.rb
# Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through .
def organization_params
    params.require(:organization)
          .permit(
            :name, :slug, :icon, :code, :provider,
            contact_email_attributes: %i[email],
            normalization_steps: [[:destination_tag, :source_tag, { subfields: %i[i a m] }]]
          )
  end
def organization_params params . require ( :organization ) . permit ( :name , :slug , :icon , :code , :provider , contact_email_attributes : %i[ email ] , normalization_steps : [ [ :destination_tag , :source_tag , { subfields : %i[ i a m ] } ] ] ) end
Only allow a list of trusted parameters through.
Only allow a list of trusted parameters through .