diff options
author | Damien Mathieu <42@dmathieu.com> | 2012-07-06 16:53:33 +0200 |
---|---|---|
committer | Damien Mathieu <42@dmathieu.com> | 2012-07-06 20:04:38 +0200 |
commit | 7d0053e6a716be6345daa5e49dceda27ba8dfdb6 (patch) | |
tree | cdc268f748bf4426bb751dff41c18112193b06de /guides/assets | |
parent | 717aa92dd3f75dec04652940d5571ab34a2f79c3 (diff) | |
download | rails-7d0053e6a716be6345daa5e49dceda27ba8dfdb6.tar.gz rails-7d0053e6a716be6345daa5e49dceda27ba8dfdb6.tar.bz2 rails-7d0053e6a716be6345daa5e49dceda27ba8dfdb6.zip |
Limit the number of records in Relation#inspect
While it's interesting to have the results array, it can make a console or a webpage freeze if there are a lot of them.
So this limits the number of records displayed in #inspect to 10 and tells how much were effectively found.
Diffstat (limited to 'guides/assets')
0 files changed, 0 insertions, 0 deletions