Rails with sencha touch
Ruby JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib/tasks
public
script
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

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/