We actually still need this else clause for the test and development environments - you want to make it:

    if Rails.env.production?
    ...
    elsif Rails.env.staging?
    ...
    else
    ...