Added application adapter and replace RESTAdapter with ActiveModelAdapter.