An example project which consumes REST data from https://github.com/valo/ember_rails_api_example using the https://github.com/valo/ember_data_active_model_parser parser for Her
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
test
vendor/assets
.gitignore
.rspec
.travis.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Rails API consumer using Her

This is an example Rails app, that uses Her to read data from a Rails API, which exposes data in the EmberJS format. You can read more here: Rails + EmberJS + Active Model Serializers + Her

Status

Build status

Running

To run the app, execute these commands after a git clone:

$ bundle
$ ./bin/rails console
Loading development environment (Rails 4.1.9)
2.1.2 :001 > Project.find(1)
 => #<Project(projects/1) name="Shop list" id=1 tasks=[#<Task(tasks/2)...

Keep in mind that you need to have the ember_rails_api_example app running locally, so that you can read the data from it.