as_json(options = nil)
Coerces the enumerable to an array for JSON encoding.
# File activesupport/lib/active_support/json/encoders/enumerable.rb, line 3 def as_json(options = nil) #:nodoc: to_a end