Returns a consistent identifier for label. This will always be a positive integer, and will always be the same for a given label, assuming the same OS, platform, and version of Ruby.
Source Code
# File active_record/fixtures.rb, line 539 def self.identify(label) label.to_s.hash.abs end
<code/>and<pre/>for code samples.