A simple blogging app in rails