photogur clone in rails 3.2