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:
parent
755f6bf3d3
commit
d2a69d319b
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue