Test embedding rails in phonegap