Skip to content

swapnilchincholkar/senchamvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is example application to demonstrate how to intgrate Sencha touch application with ruby on rails application.
After cloning repository run
rake db:create
rake db:migrate
rake db:seed

Then update url in public/javascripts/app/models/Businesss.js and in public/javascripts/app/models/Organization.js from
url: 'http://192.168.1.159:3000/businesses.json',
to 
url: 'http://<your IP address>:3000/businesses.json'

Then after executing
rails s

Open the url as http://<your IP address>:3000/ in browser of mobile phone or Safari browser.

If you are using Safari the set the user agent to iphone, To change the User agent in Safari, you can go to
Menu -> Develop -> User Agent and set the one you need. 
And in chrome, please refer to http://www.mobitechie.com/browser/how-to-change-useragent-string-on-chrome-to-simulate-iphone-browser/

About

Rails with sencha touch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published