Rails factor gem.