Stackoverflow clone in Rails 4