aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/record_tag_helper.rb
diff options
context:
space:
mode:
authorYoshiyuki Hirano <yhirano@me.com>2018-04-07 02:50:57 +0900
committerYoshiyuki Hirano <yhirano@me.com>2018-04-07 09:28:01 +0900
commit5c5ddd69b1e06fb6b2bcbb021e9b8dae17e7cb31 (patch)
tree377f9b9d48965bfbb608ed63dea55a53bd797ec5 /actionview/lib/action_view/helpers/record_tag_helper.rb
parent457312f54fc1641ad42bcc6362b13836fc30feec (diff)
downloadrails-5c5ddd69b1e06fb6b2bcbb021e9b8dae17e7cb31.tar.gz
rails-5c5ddd69b1e06fb6b2bcbb021e9b8dae17e7cb31.tar.bz2
rails-5c5ddd69b1e06fb6b2bcbb021e9b8dae17e7cb31.zip
Remove RecordTagHelper
* Since #18411, we started to inform about extracted gem (record_tag_helper) to developers who use `ActionView::Helpers::RecordTagHelper` 's methods. * Currently, it seems no problem that we don't have to support no longer.
Diffstat (limited to 'actionview/lib/action_view/helpers/record_tag_helper.rb')
-rw-r--r--actionview/lib/action_view/helpers/record_tag_helper.rb23
1 files changed, 0 insertions, 23 deletions
diff --git a/actionview/lib/action_view/helpers/record_tag_helper.rb b/actionview/lib/action_view/helpers/record_tag_helper.rb
deleted file mode 100644
index a6953ee905..0000000000
--- a/actionview/lib/action_view/helpers/record_tag_helper.rb
+++ /dev/null
@@ -1,23 +0,0 @@
-# frozen_string_literal: true
-
-module ActionView
- module Helpers #:nodoc:
- module RecordTagHelper
- def div_for(*) # :nodoc:
- raise NoMethodError, "The `div_for` method has been removed from " \
- "Rails. To continue using it, add the `record_tag_helper` gem to " \
- "your Gemfile:\n" \
- " gem 'record_tag_helper', '~> 1.0'\n" \
- "Consult the Rails upgrade guide for details."
- end
-
- def content_tag_for(*) # :nodoc:
- raise NoMethodError, "The `content_tag_for` method has been removed from " \
- "Rails. To continue using it, add the `record_tag_helper` gem to " \
- "your Gemfile:\n" \
- " gem 'record_tag_helper', '~> 1.0'\n" \
- "Consult the Rails upgrade guide for details."
- end
- end
- end
-end