Difficulties understanding store interactions between client and server

First of all, I want to understand how the mechanism works. And I am referring to how does the store in ember.js call endpoints in rails.