diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-09-30 17:38:27 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-09-30 17:38:27 +0900 |
commit | 35dc49e517acff12ad249995cfbac41334d30d66 (patch) | |
tree | 01547688b26d7d2ecb386d1fe6d2f860cc644775 /actionview/test | |
parent | 325c06fbc499aa4da1ce50d9b85dbf5c6ed3321e (diff) | |
download | rails-35dc49e517acff12ad249995cfbac41334d30d66.tar.gz rails-35dc49e517acff12ad249995cfbac41334d30d66.tar.bz2 rails-35dc49e517acff12ad249995cfbac41334d30d66.zip |
Remove unused methods from `RenderPartialWithRecordIdentificationController`
These methods no longer used since a3da293.
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/activerecord/render_partial_with_record_identification_test.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/actionview/test/activerecord/render_partial_with_record_identification_test.rb b/actionview/test/activerecord/render_partial_with_record_identification_test.rb index 367d2c3174..3a698fa42e 100644 --- a/actionview/test/activerecord/render_partial_with_record_identification_test.rb +++ b/actionview/test/activerecord/render_partial_with_record_identification_test.rb @@ -17,21 +17,11 @@ class RenderPartialWithRecordIdentificationController < ActionController::Base render partial: Reply.base end - def render_with_has_many_through_association - @developer = Developer.first - render partial: @developer.topics - end - def render_with_has_one_association @company = Company.find(1) render partial: @company.mascot end - def render_with_belongs_to_association - @reply = Reply.find(1) - render partial: @reply.topic - end - def render_with_record @developer = Developer.first render partial: @developer |