Initial migration to Rails 4.1 and Ruby 2.1.2