use rails for prototype