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

Add backticks to ActiveRecord::Base.where

[ci skip]
This commit is contained in:
Jon Moss 2016-06-04 11:11:42 -04:00
parent 755f6bf3d3
commit d2a69d319b
No known key found for this signature in database
GPG key ID: 7CE26AA47EFC5B12

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: