I'd write this as:

   OpgLpa::Application.config.secret_key_base = Rails.env.production? ? ENV['SECRET_KEY_BASE'] : 'fa064cf19247c6416361095e9cba949e13c00dfbaaa1a3902ba6a38ffd3a8b5138db7b2c293d2449ebd53ce2844c187184239b8bb47368e72f354a48fe8006e4'