cerebris/ember-rest — Issue #1: Name in Ember.Resource clashes with properties: ['name']
Author: rmossuk
Created: 2012-02-01 21:13:09+00:00
State: open

When i have a name property like this :

```javascript
App.Contact = Ember.Resource.extend({
url: '/contacts',
name: 'contact',
properties: ['name'],
....
```

The name property is being used in the json as :

```javascript
{"value of property name"=>{"name"=>"value of property name"}
```

when i post a form using the edit template

```javascript
{{#with contact}}
{{view Ember.TextField valueBinding="name" placeholder="name"}}
{{#if id}}
{{submitButton "Update"}}
{{else}} {{submitButton "Create"}}
{{/if}}
{{/with}}
```
```

thanks a lot for all the help