require active_support for String.first to work with rails 4