ruby app replicating twitter functionality