How to display ActiveRecords like
>> Role.all
+----+-----------+-------------------------+-------------------------+
| id | name | created_at | updated_at |
+----+-----------+-------------------------+-------------------------+
| 1 | Admin | 2009-11-16 21:22:59 UTC | 2009-11-16 21:22:59 UTC |
| 2 | Moderator | 2009-11-16 21:23:06 UTC | 2009-11-16 21:23:06 UTC |
| 3 | Author | 2009-11-16 21:23:16 UTC | 2009-11-16 21:23:16 UTC |
+----+-----------+-------------------------+-------------------------+
3 rows in set
?
I saw it in railscasts.com/episodes/189-embedded-association and http://asciicasts.com/episodes/189-embedded-association