remake rails framework