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:
parent
e3d8194582
commit
5ea67a29c6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue