Sample app in Rails