Running raw SQL in rails console

How do you run raw SQL in the rails console?

See: https://github.com/discourse/mini_sql

EG:

DB.query('select * from users limit 1').first.username
6 Likes