Rails test app for phone gap