1
0
Fork 0
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:
Rafael Mendonça França 2021-08-24 19:09:25 +00:00
parent 790723b92f
commit d2b23f48e8
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948

View file

@ -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