Basic blog implemented in rails