aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/internal_metadata.rb
diff options
context:
space:
mode:
authorOlivier Lacan <hi@olivierlacan.com>2019-01-30 12:39:32 -0500
committerOlivier Lacan <hi@olivierlacan.com>2019-01-30 19:29:03 -0500
commit13f8beb435139bd96e27640e6d198b3ebf9cdecc (patch)
treee93b54d1d59ca63ce15375ff8e46b20320d6b3d9 /activerecord/lib/active_record/internal_metadata.rb
parent826e34be226cbb61c28867617e1e37e20beae18f (diff)
downloadrails-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 'activerecord/lib/active_record/internal_metadata.rb')
0 files changed, 0 insertions, 0 deletions