Sample app for rails 3