diff options
author | Yves Siegrist <Elektron1c97@gmail.com> | 2015-12-07 14:06:00 +0100 |
---|---|---|
committer | Yves Siegrist <Elektron1c97@gmail.com> | 2015-12-07 14:06:00 +0100 |
commit | bcf89f44e0597b0ef8886d5d82be12c51462793c (patch) | |
tree | 5ee6201adacadd110259ed5bd9ff0c73e6c791d4 /railties/exe/rails | |
parent | 6bd417df5075f1006557f6d9e44b5a9637015c70 (diff) | |
download | rails-bcf89f44e0597b0ef8886d5d82be12c51462793c.tar.gz rails-bcf89f44e0597b0ef8886d5d82be12c51462793c.tar.bz2 rails-bcf89f44e0597b0ef8886d5d82be12c51462793c.zip |
Typo correction
In the doc the `dependent` option was set with: `dependent: destroy`.
This is not working because destroy would call the method of the activerecord::base object.
The right way is: `dependent: :destroy`
Diffstat (limited to 'railties/exe/rails')
0 files changed, 0 insertions, 0 deletions