Categories: None [Edit]
table_display
Adds support for displaying your ActiveRecord tables, named scopes, collections, or
plain arrays in a table view when working in rails console, shell, or email template.
Enumerable#to_table_display returns the printable strings; Object#pt calls #to_table_display on its
first argument and puts out the result.
Columns you haven't loaded (eg. from using :select) are omitted, and derived/calculated
columns (eg. again, from using :select) are added.
Both #to_table_display and Object#pt methods take :only, :except, and :methods which work like
the #to_xml method to change what attributes/methods are output.
The normal output uses #inspect on the data values to make them printable, so you can
see what type the values had. When that's inconvenient or you'd prefer direct display,
you can pass the option :inspect => false to disable inspection.
Total
Ranking: 17,125 of 183,139
Downloads: 90,009
Daily
Ranking: 17,885 of 183,127
Downloads: 10
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 954,857,689 | rake |
35 | 596,542,036 | activerecord |
253 | 141,612,402 | sqlite3 |
648 | 66,393,170 | test-unit |
Owners
# | Gravatar | Handle |
---|---|---|
1 | willbryant |