lib/doorkeeper/models/concerns/revocable.rb in doorkeeper-5.4.0 vs lib/doorkeeper/models/concerns/revocable.rb in doorkeeper-5.5.0.rc1

- old
+ new

@@ -7,10 +7,10 @@ # to the specific time). # # @param clock [Time] time object # def revoke(clock = Time) - update_column(:revoked_at, clock.now.utc) + update_attribute(:revoked_at, clock.now.utc) end # Indicates whether the object has been revoked. # # @return [Boolean] true if revoked, false in other case