Porting Kompaqt to Rails