Application to work with Ruby 2 and Rails 4