class NotasController < ApplicationController
def main
@notas_nome = Notum.order :nome
@notas_media = Notum.order :media
end
def create
notas = params.require(:note).permit :nome, :nota1, :nota2, :media
note = Notum.create notas
end
end
ERRO: param is missing or the value is empty: note