A basic blog in ruby using rails