By Rails 4.0.0 and Ruby 2.0.0