Hsuancheng Chen

Joined

10 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Connecting Ember with the Rails API Discussion

If you have a problem with the root key, you can overide the root key to "monsters"

https://github.com/rails-ap...

```ruby
#in rails-api/app/controllers
def index
@monsters = Monster.all
render json: @monsters, root: "monsters", adapter: :json
end
```