Pass class rather than string to insert middleware
Pass class rather than string to insert middleware

This commit changes the gem to pass a class rather than a string when inserting the middleware. This removes a deprecation warning for Rails 5.

alext/invalid_utf8_rejector