Merge pull request #25279 from maclover7/jm-add-backticks-1

Add backticks to `ActiveRecord::Base.where`
This commit is contained in:
David Heinemeier Hansson 2016-06-06 18:59:25 +02:00
commit 3da81f89ab
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ ToDo...
Defines an attribute with a type on a model. It will override the type of existing attributes if needed.
This allows control over how values are converted to and from SQL when assigned to a model.
It also changes the behavior of values passed to ActiveRecord::Base.where, which lets use our domain objects across much of Active Record,
It also changes the behavior of values passed to `ActiveRecord::Base.where`, which lets use our domain objects across much of Active Record,
without having to rely on implementation details or monkey patching.
Some things that you can achieve with this: