diff options
author | Olivier Lacan <hi@olivierlacan.com> | 2019-01-30 12:39:32 -0500 |
---|---|---|
committer | Olivier Lacan <hi@olivierlacan.com> | 2019-01-30 19:29:03 -0500 |
commit | 13f8beb435139bd96e27640e6d198b3ebf9cdecc (patch) | |
tree | e93b54d1d59ca63ce15375ff8e46b20320d6b3d9 /actionpack/test/dispatch/test_response_test.rb | |
parent | 826e34be226cbb61c28867617e1e37e20beae18f (diff) | |
download | rails-13f8beb435139bd96e27640e6d198b3ebf9cdecc.tar.gz rails-13f8beb435139bd96e27640e6d198b3ebf9cdecc.tar.bz2 rails-13f8beb435139bd96e27640e6d198b3ebf9cdecc.zip |
Hint at advanced options for foreign_key
We sometimes display simple examples of additional parameters that can be
supplied to table-wise methods like these and I found it particularly difficult
to figure out which options `t.foreign_key` accepts without drilling very deep
into the specific SchemaStatements docs.
Since it's relatively common to create foreign keys with custom column names or
primary keys, it seems like this should help quite a few people.
[ci skip]
Diffstat (limited to 'actionpack/test/dispatch/test_response_test.rb')
0 files changed, 0 insertions, 0 deletions