pry/pry — Issue #354: history command and active_support exclude? wrong number of arguments
Author: lucapette
Created: 2011-11-26 15:54:58+00:00
State: open

I'm not able to use the `hist` command when I use pry as a rails console. I hope I'm not wasting your time but the problem is reproducible even only loading active_support as you can see in the following:

````
1.9.2 (main):0 > require "active_support/all"
=> true
1.9.2 (main):0 > hist
ArgumentError: wrong number of arguments (0 for 1)
from /home/lucapette/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.3/lib/active_support/core_ext/enumerable.rb:104:in `exclude?'
````

I've done a bit of investigation and there is a [name collision](https://github.com/pry/pry/blob/master/lib/pry/default_commands/input.rb#L215) with a extension to the Enumerable module done by active_support. I can submit a pull request with a different name for that option if you think it's a proper way of solving this issue. Something like `exclude_pry_commands` would be fine?

Thank you for the hard work on this wonderful project!