the contain rails code