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:
parent
a2dab46cae
commit
8c0c0838cf
1 changed files with 4 additions and 2 deletions
|
@ -10,8 +10,10 @@
|
|||
flawed idea unless we write an SQL parser, which we do not wish to
|
||||
do.
|
||||
|
||||
Therefore, you must explicitly state which tables you reference,
|
||||
when using SQL snippets:
|
||||
Therefore, it is now deprecated.
|
||||
|
||||
To avoid deprecation warnings and for future compatibility, you must
|
||||
explicitly state which tables you reference, when using SQL snippets:
|
||||
|
||||
Post.includes(:comments)
|
||||
.where("comments.name = 'foo'")
|
||||
|
|
Loading…
Reference in a new issue