Rails prototype of HDO