aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/path_generation_test.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-12-22 13:10:01 -0700
committerSean Griffin <sean@thoughtbot.com>2014-12-22 13:47:11 -0700
commit82afeaf23b0cc190d1ed2c8858a11980c71ac336 (patch)
treeab7aa8f0cd4f3a168c1cef7fcb8b9b36a89188b9 /railties/test/path_generation_test.rb
parent68a6c8ecc41ca2e4bee7c7218e8a4be81bbf7e25 (diff)
downloadrails-82afeaf23b0cc190d1ed2c8858a11980c71ac336.tar.gz
rails-82afeaf23b0cc190d1ed2c8858a11980c71ac336.tar.bz2
rails-82afeaf23b0cc190d1ed2c8858a11980c71ac336.zip
Add `foreign_key` as an option to `references` for `change_table`
This has the same comments as 9af90ffa00ba35bdee888e3e1ab775ba0bdbe72c, however it affects the `add_reference` method, and `t.references` in the context of a `change_table` block. There is a lot of duplication of code between creating and updating tables. We should re-evaluate the structure of this code from a high level so changes like this don't need to be made in two places. (Note to self)
Diffstat (limited to 'railties/test/path_generation_test.rb')
0 files changed, 0 insertions, 0 deletions