aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.markdown b/README.markdown
index eaefe2d694..eb6426b1ec 100644
--- a/README.markdown
+++ b/README.markdown
@@ -26,8 +26,8 @@ Generating a query with ARel is simple. For example, in order to produce
you construct a table relation and convert it to sql:
users = Arel::Table.new(:users)
- users.project(Arel.sql('*'))
- users.to_sql
+ query = users.project(Arel.sql('*'))
+ query.to_sql
### More Sophisticated Queries