A simple Rails app for testing CRUD with ember.js and ember-rest.js
Ruby JavaScript
Permalink
Failed to load latest commit information.
app now using Ember.Resource.copy() to duplicate editable resource Apr 3, 2012
config now using ember-rails gem to include ember.js and to compile handleba… Jan 4, 2012
db upgraded to rails 3.2.6 and fixed ember-rails at 0.4.0; closes #5 Jul 24, 2012
doc initial commit with contacts scaffolded Dec 30, 2011
lib now using ember-rails gem to include ember.js and to compile handleba… Jan 4, 2012
log
public initial commit of ember app Jan 2, 2012
script initial commit with contacts scaffolded Dec 30, 2011
test initial commit with contacts scaffolded Dec 30, 2011
vendor now using ember-rails gem to include ember.js and to compile handleba… Jan 4, 2012
.gitignore initial commit with contacts scaffolded Dec 30, 2011
Gemfile
Gemfile.lock upgraded to rails 3.2.6 and fixed ember-rails at 0.4.0; closes #5 Jul 24, 2012
LICENSE added README and LICENSE Jan 2, 2012
README.md rails 3.2.1 Feb 20, 2012
Rakefile initial commit with contacts scaffolded Dec 30, 2011
config.ru initial commit with contacts scaffolded Dec 30, 2011

README.md

Ember REST Example

This is a simple Rails 3.2 app created to demonstrate using Ember.js with a basic RESTful persistence strategy.

The app itself is a single-page Ember.js take on Rails CRUD scaffolding. It is one of several similar examples I'm creating to try out Ember.js and different persistence strategies.

I extracted the ultra-simple ember-rest.js from this example: https://github.com/cerebris/ember-rest

Installation

Assuming Ruby 1.9.2+ with bundler gem installed:

$ bundle install
$ bundle exec rake db:migrate
$ rails s

Notes

Please help improve this example by filing issues and pull requests!

License

Copyright 2012 Dan Gebhardt. MIT License (see LICENSE for details).