I need to know the ID of the current user in a model:
def after_save desc, points=nil, nil if answer_index == daily_question.correct_answer_index desc
It's not possible. The current_user relies on the session, which isn't available in the model (and that's normal. The models are context-independent).
You should pass the user to the model as a parameter.