I'm using rails only as a backend to serve JSON data to the Ember frontend application.
My DB Structure is quite concatenated, what leeds to rails loading the complete database on every request.
How can i deal with that?
For example, I got a blog, blog "has_many" articles, articles "has_many" comments and so on. When I want to view a blog I don't care about the comments, all I need are the articles list.
So how can I prevent rails from resolving the "has_many" relationship on articles, when I don't need them?