add Rails 4 to detect array
include the beta into the rails 4 beta