emberjs/ember-rails — pull request #96 by tricknotes (2012-09-20 03:21:29+00:00)
Title: Support 'belongsTo' relation in scaffold generator

I want to use 'references' in scaffold generator.

When the following command run, I hope that the model was generated validly.
`$ rails generate scaffold comment post:reference body:text`

expected:
``` js
App.Comment = DS.Model.extend({
post: DS.belongsTo('App.Post'),
body: DS.attr('string')
});
```
But actual:
``` js
App.Comment = DS.Model.extend({
post: DS.attr('references'),
body: DS.attr('string')
});
```