added adapters for rails api