update rails upgrade_3_2_to_4_0 snippet.

replace dependent: :strict with dependent: :strict_with_exception.