rails based post-comment functionality