Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

More love to SQL syntax highlight.

[ci skip]
  • Loading branch information...
commit 1fc56a7a339a4aeed8e0acc14f5992ef95c359cc 1 parent 086024b
@simi simi authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -493,13 +493,13 @@ Person.where(:first_name => :last_name)
produces this SQL query in plain Active Record:
-```
+```sql
SELECT people.* FROM people WHERE people.first_name = 'last_name'.
```
but produces this SQL query if you are using Squeel:
-```
+```sql
SELECT people.* FROM people WHERE people.first_name = people.last_name
```
Please sign in to comment.
Something went wrong with that request. Please try again.