Python Rails Programming