rails factor