Rails application in the style of pinterest