From fadad9fcef1a0cd5dac4eb1bb290b94b8e6eaac0 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 22 Feb 2012 15:57:15 -0800 Subject: [PATCH] Merge pull request #5084 from johndouthat/patch-1 Remove reference to rails_legacy_mapper, which isn't compatible with 3.2... --- actionpack/lib/action_dispatch/routing/route_set.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/actionpack/lib/action_dispatch/routing/route_set.rb b/actionpack/lib/action_dispatch/routing/route_set.rb index 33eb7b0746b93..a78e1e13b0236 100644 --- a/actionpack/lib/action_dispatch/routing/route_set.rb +++ b/actionpack/lib/action_dispatch/routing/route_set.rb @@ -267,8 +267,7 @@ def prepend(&block) def eval_block(block) if block.arity == 1 raise "You are using the old router DSL which has been removed in Rails 3.1. " << - "Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/ " << - "or add the rails_legacy_mapper gem to your Gemfile" + "Please check how to update your routes file at: http://www.engineyard.com/blog/2010/the-lowdown-on-routes-in-rails-3/" end mapper = Mapper.new(self) if default_scope