add config for branch rails3