pry: fix bug with rails 3.2+; improve aliases