a Reddit-like app in Rails