last_message_at was null for some old conversations

This might be somewhat slow, if you have a lot of conversations. This is should be faster (because it's only one SQL query):

Conversation.update_all("last_message_at = updated_at", "last_message_at IS NULL")