From e09ac7086b88da0b578c5f4851b6a10db8bfc5fb Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Wed, 1 Feb 2012 08:41:52 +0100 Subject: Remove console --irb deprecation notice --- railties/lib/rails/commands/console.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/railties/lib/rails/commands/console.rb b/railties/lib/rails/commands/console.rb index 3acac2a6f0..432c81af88 100644 --- a/railties/lib/rails/commands/console.rb +++ b/railties/lib/rails/commands/console.rb @@ -19,7 +19,6 @@ module Rails opt.banner = "Usage: console [environment] [options]" opt.on('-s', '--sandbox', 'Rollback database modifications on exit.') { |v| options[:sandbox] = v } opt.on("--debugger", 'Enable ruby-debugging for the console.') { |v| options[:debugger] = v } - opt.on('--irb', "DEPRECATED: Invoke `/your/choice/of/ruby script/rails console` instead") { |v| abort '--irb option is no longer supported. Invoke `/your/choice/of/ruby script/rails console` instead' } opt.parse!(ARGV) end -- cgit v1.2.3