GithubHelp home page GithubHelp logo

dgeb / ember_rest_example Goto Github PK

View Code? Open in Web Editor NEW
119.0 119.0 29.0 289 KB

A simple Rails app for testing CRUD with ember.js and ember-rest.js

License: MIT License

Ruby 78.16% JavaScript 21.84%

ember_rest_example's People

Contributors

dgeb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ember_rest_example's Issues

Does not work with older ember-rails version

When using this example with ember-rails 0.2.4 which was installed by bundler, I get an ActionView::Template::Error. However it works fine, when using the current version from git (git://github.com/emberjs/ember-rails.git) which is version 0.3 as of writing this.

App is empty

I followed the instructions in the README, but this app doesn't seem to work. I get an empty page with an <h1>Contacts</h1> and that's it. I created a Contact with via the console and nothing shows up. Any ideas?

Jasmine?

Really like this - I want to adapt it for use in my own projects. I've been using Jasmine to TDD my JS code in Rails apps for a while now. Don't suppose you've done any testing...?

Submit button not wired to action helper

I had to add{{action submit}}to the submit button in order for update/create to work. Is ember supposed to maptype="foo"to the view methodfooautomatically? I only ask because you explicitly use the action helper for cancel, {{action cancelForm}}.

I'm using Ember 9.8.1 and ember-rest 0.1.1

Thanks
Brian Ledsworth

My submit button looks like:

<button type="submit" {{action submit}}>
  {{#if id}}Update{{else}}Create{{/if}}
</button>

Single model validation layer

Is there no way to avoid the double model validation (once by ember and once by ActiveRecord) when using ember with rails?

an error based on conversion nil into string

Before beginning, thanks for this work. I've grabbed this example, made a bundle installation, migration, etc w/Rails 3.2.6. But when I was running this example, it gave error like this:
"can't convert nil into String
(in /home/ekrem/workspace/ember_rest_example/app/assets/javascripts/app/templates/contacts/edit.handlebars)"

How can I fix?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.