0
I enter rails_admin and it works normally with users, but when I edit an activity it gives this error.
I’ve researched what poode is, but I didn’t find anything very clear. Soon below I’ll put my model of Activity to help in understanding, and anything just warn that I edit or share some more specific file for better understanding.
MODEL
class Activity < ApplicationRecord
belongs_to :user
before_update :impedir_duplicata
after_update :validar_hora
after_update :deletar_anexo
before_destroy :retirar_hora
before_destroy :deletar_anexo
mount_uploaders :documents, DocumentUploader
validates :hora_computada, :titulo, :grupo, :data_evento,
:local_realizacao_atividade, :relatorio, presence: true