1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Make it more explicit that the feature is deprecated, not removed.

This commit is contained in:
Jon Leighton 2012-01-16 21:35:21 +00:00
parent a2dab46cae
commit 8c0c0838cf

View file

@ -10,8 +10,10 @@
flawed idea unless we write an SQL parser, which we do not wish to flawed idea unless we write an SQL parser, which we do not wish to
do. do.
Therefore, you must explicitly state which tables you reference, Therefore, it is now deprecated.
when using SQL snippets:
To avoid deprecation warnings and for future compatibility, you must
explicitly state which tables you reference, when using SQL snippets:
Post.includes(:comments) Post.includes(:comments)
.where("comments.name = 'foo'") .where("comments.name = 'foo'")