1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fixed typo in comment about MAX_ID.

This commit is contained in:
Vajrasky Kok 2014-02-23 12:17:44 +08:00
parent e3d8194582
commit 5ea67a29c6

View file

@ -549,7 +549,7 @@ module ActiveRecord
end
# Returns a consistent, platform-independent identifier for +label+.
# Identifiers are positive integers less than 2^32.
# Identifiers are positive integers less than 2^30.
def self.identify(label)
Zlib.crc32(label.to_s) % MAX_ID
end