Change last_used_at to use touch
This commit is contained in:
parent
1ddfc574ce
commit
d444fd3460
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ module ChatNames
|
|||
chat_name = find_chat_name
|
||||
return unless chat_name
|
||||
|
||||
chat_name.update(last_used_at: Time.now)
|
||||
chat_name.touch(:last_used_at)
|
||||
chat_name.user
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue