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
pp does the job too, no gem requiring is required.
@a = Accrual.first ; pp @a #, Feb: #, Mar: #, Apr: #, May: #, June: #, July: #, Aug: #, Sep: #, Oct: #, Nov: #, Dec: #,
You can also print two instances of an object:
pp( Accrual.first , Accrual.second) ` ` `