Have you considered improving the rgeo gem instead?