Continuing the discussion from IP addresses are not correct in my installation:
I am currently getting an error from discourse when I try to rebuild on my staging (I use it for dev but its installed using the production install guide) instance. I’ve narrowed it down to a plugin I’m currently working on.
The source code for the plugin is publicly available here and the error message is available here.
How might I go about loading rack in a manner that allows me to set Rack::Request.ip_filter = lambda { |ip| false }
and override the rack default?