add rails_factor gem