This method is deprecated or moved on the latest stable version.
The last existing version (v2.3.8) is shown here.
rand(# :nodoc:)
public
This method is deprecated because it masks Kernel#rand within the Array class itself, which may be used by a 3rd
party library extending Array in turn. See
# File activesupport/lib/active_support/core_ext/array/random_access.rb, line 10
def rand # :nodoc:
ActiveSupport::Deprecation.warn 'Array#rand is deprecated and will be removed in Rails 3. Use "random_element" instead', caller
random_element
end