mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c6d928f3ca
When using rails routes with small terminal or complicated routes it can be very difficult to understand where is the element listed in header. psql had the same issue, that's why they created "expanded mode" you can switch using `\x` or by starting psql with ``` -x --expanded Turn on the expanded table formatting mode. This is equivalent to the \x command. ``` The output is similar to one implemented here for rails routes: db_user-# \du List of roles -[ RECORD 1 ]---------------------------------------------- Role name | super Attributes | Superuser, Create role, Create DB Member of | {} -[ RECORD 2 ]---------------------------------------------- Role name | role Attributes | Superuser, Create role, Create DB, Replication Member of | {} |
||
---|---|---|
.. | ||
console_test.rb | ||
credentials_test.rb | ||
dbconsole_test.rb | ||
encrypted_test.rb | ||
routes_test.rb | ||
secrets_test.rb | ||
server_test.rb |