Fix predis attr in 1.8.7

The #attr method in Ruby 1.8.7 doesn't accept *args.
Fix undefined proc var in #on