Rails Tutorial's sample app with some adjustments