Pinterest clone in RoR