An Instagram clone in rails