Skip to content

Commit

Permalink
Merge pull request rails#5084 from johndouthat/patch-1
Browse files Browse the repository at this point in the history
Remove reference to rails_legacy_mapper, which isn't compatible with 3.2...
  • Loading branch information
tenderlove committed Feb 22, 2012
1 parent 82d6ded commit fadad9f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions actionpack/lib/action_dispatch/routing/route_set.rb
Expand Up @@ -267,8 +267,7 @@ def prepend(&block)
def eval_block(block) def eval_block(block)
if block.arity == 1 if block.arity == 1
raise "You are using the old router DSL which has been removed in Rails 3.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/ " << "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"
end end
mapper = Mapper.new(self) mapper = Mapper.new(self)
if default_scope if default_scope
Expand Down

0 comments on commit fadad9f

Please sign in to comment.