build a reddit-like site by Ruby on Rails