June 27, 2016
This blog is part of our Rails 5 series.
In Rails 5, SQL statements have much more granular level of coloration .
Font color for INSERT
command is green
Font color for UPDATE
command is yellow and for SELECT
it is blue.
Font color for DELETE
command is red.
As you might have noticed from above that font color for transaction
is cyan.
Font color for Rollback transaction
is red.
For custom SQL statements color is magenta and Model Load/exists color is cyan.
If this blog was helpful, check out our full blog archive.