Check for local IPs before any other Rack::Attack checks

Description

When and were merged separately, the safelist block is no longer at the top.

The order of these blocks shouldn't matter, as safelists should be applied first: https://github.com/kickstarter/rack-attack#how-it-works

We'll reorder anyway, to definitely rule out ordering as a possible problem.

Environment

None

Assignee

james_

Reporter

james_

Roadmap

Misc

Priority

Highest

Affects versions

Fix versions

Components

BackEnd

Difficulty

Medium

Required Access Level

None

Milestone

Internal 0.9
Configure