diff options
author | Raghu Kamat <rkamat@teladoc.com> | 2018-10-21 22:59:48 -0400 |
---|---|---|
committer | Raghu Kamat <rkamat@teladoc.com> | 2018-10-22 14:39:05 -0400 |
commit | b2e74b36bf3b858e3d08fff3ef66351c1e259caa (patch) | |
tree | 7a50196816f2598bab673f98c9acb7658d8d3032 /actionpack/test/dispatch/routing_assertions_test.rb | |
parent | 64385bdf30b3bd7a44e2f456fca6a33ae2bb451c (diff) | |
download | rails-b2e74b36bf3b858e3d08fff3ef66351c1e259caa.tar.gz rails-b2e74b36bf3b858e3d08fff3ef66351c1e259caa.tar.bz2 rails-b2e74b36bf3b858e3d08fff3ef66351c1e259caa.zip |
[ci skip] Fix #33914
This commit removes the dependent: :destroy option from the belong_to example since there is a warning associated with the usage of dependent: :destroy along with belongs_to. Based on the feedback on the issue #33914, I replaced dependent: :destroy with touch: :books_updated_at which will make the example consistent with the example that already exists on that page.
* Also Removing the touch option from the belong_to scopes example as the option doesnt have any relation to association scope.
Diffstat (limited to 'actionpack/test/dispatch/routing_assertions_test.rb')
0 files changed, 0 insertions, 0 deletions