Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed typo in comment about MAX_ID.

  • Loading branch information...
commit 5ea67a29c66fb872202cac2bb734241cec34e0a1 1 parent e3d8194
@vajrasky vajrasky authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/fixtures.rb
View
2  activerecord/lib/active_record/fixtures.rb
@@ -549,7 +549,7 @@ def self.create_fixtures(fixtures_directory, fixture_set_names, class_names = {}
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
Please sign in to comment.
Something went wrong with that request. Please try again.