rails 12 facotr