Pinterest like site in rails