Deprecate safe_level of ERB.new in Ruby 2.6 by koic · Pull Request #889 · sunspot/sunspot

The interface of ERB.new will change from Ruby 2.6. Add :trim_mode and :eoutvar keyword arguments to ERB.new. Now non-keyword arguments other than first one are softly deprecated and will be remov...