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
The best way to access the current_user in the Model(s) when using Authlogic is using Sentiant User - https://github.com/bokmann/sentient_user There is a full documentation on the there how to use it.