```ruby
require 'browser'
Browser.modern_rules << -> b { b.ie? && b.version.to_i >= 10 }

Rails.configuration.middleware.use Browser::Middleware do
  redirect_to '/unsupported_browser' unless browser.modern?
end
```

Adjust unsupported browser rules to be more conservative
user
```ruby
require 'browser'

Rails.configuration.middleware.use Browser::Middleware do
  supported = !browser.ie? || browser.version.to_i >= 10
  redirect_to '/unsupported_browser' unless supported
end
```
assistant