updated to Rails 4.1 and Ruby 2.1