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
.inspect is what you're looking for, it's way easier IMO than .to_yaml!
.inspect
.to_yaml
user = User.new user.name = "will" user.email = "will@example.com" user.inspect #