Exposes rails api in a crude manner.