mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
[ci skip] use true as value rather than symbol
This commit is contained in:
parent
64e27f9230
commit
e3c70df197
1 changed files with 1 additions and 1 deletions
|
@ -933,7 +933,7 @@ Passing `true` to the `:polymorphic` option indicates that this is a polymorphic
|
|||
|
||||
##### `:touch`
|
||||
|
||||
If you set the `:touch` option to `:true`, then the `updated_at` or `updated_on` timestamp on the associated object will be set to the current time whenever this object is saved or destroyed:
|
||||
If you set the `:touch` option to `true`, then the `updated_at` or `updated_on` timestamp on the associated object will be set to the current time whenever this object is saved or destroyed:
|
||||
|
||||
```ruby
|
||||
class Order < ActiveRecord::Base
|
||||
|
|
Loading…
Reference in a new issue