basic rails blog application written in rails 4