Demo application in Rails 4