I think I\'m trying to get the PHP equivalent of print_r() (print human-readable); at present the raw output is:
print_r()
ActiveRecord::Relation:0x10355d
I'm using the awesome_print gem
So you just have to type :
ap @var