Running raw SQL in rails console

How do you run raw SQL in the rails console?

See: GitHub - discourse/mini_sql: a minimal, fast, safe sql executor

EG:

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