Basic blog app in ruby