ruby blogpost example