porting static rails version