Pinterest type application on ruby on rails