We don't need you middleware
Add alternate_rails gem
Add before_filter hook to load alternate_rails stuff