add rails factor gem