A simple blogging app in rails 4