moving prototype into ROR apps