use rack to create a rails proxy that can use active record