aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2014-02-22 23:45:40 -0500
committerGuillermo Iguaran <guilleiguaran@gmail.com>2014-02-22 23:45:40 -0500
commit624f8557b70b3ef2e12f6264938a95bdd97c8355 (patch)
tree35c94d41ee0854211c53193acd86031d492dd96f /activerecord
parent58ba48e4b35c840f56b4fcbb6c8e4b489d785e15 (diff)
parent5ea67a29c66fb872202cac2bb734241cec34e0a1 (diff)
downloadrails-624f8557b70b3ef2e12f6264938a95bdd97c8355.tar.gz
rails-624f8557b70b3ef2e12f6264938a95bdd97c8355.tar.bz2
rails-624f8557b70b3ef2e12f6264938a95bdd97c8355.zip
Merge pull request #14164 from vajrasky/fix_typo_max_id
Fixed typo in comment about MAX_ID.
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/fixtures.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb
index 297792aeec..59467636d7 100644
--- a/activerecord/lib/active_record/fixtures.rb
+++ b/activerecord/lib/active_record/fixtures.rb
@@ -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