mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Copy-edit documentation [ci skip]
This commit is contained in:
parent
790723b92f
commit
d2b23f48e8
1 changed files with 1 additions and 1 deletions
|
@ -397,7 +397,7 @@ module ActiveRecord
|
||||||
# === Arel
|
# === Arel
|
||||||
#
|
#
|
||||||
# If you need to pass in complicated expressions that you have verified
|
# If you need to pass in complicated expressions that you have verified
|
||||||
# are safe for the DB, you can use Arel.
|
# are safe for the database, you can use Arel.
|
||||||
#
|
#
|
||||||
# User.order(Arel.sql('end_date - start_date'))
|
# User.order(Arel.sql('end_date - start_date'))
|
||||||
# # SELECT "users".* FROM "users" ORDER BY end_date - start_date
|
# # SELECT "users".* FROM "users" ORDER BY end_date - start_date
|
||||||
|
|
Loading…
Reference in a new issue