diff options
author | Andrew White <pixeltrix@users.noreply.github.com> | 2018-04-07 08:23:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-07 08:23:40 +0100 |
commit | c86fa4f040cd0abf2382d1f87becb9cecc0b0a3b (patch) | |
tree | 79fed805fedfddc4af0c0f041400e7c640f30449 /actionview/lib/action_view | |
parent | ec7c89b5160015c014aad0c90f5679252a91cb37 (diff) | |
parent | 5c5ddd69b1e06fb6b2bcbb021e9b8dae17e7cb31 (diff) | |
download | rails-c86fa4f040cd0abf2382d1f87becb9cecc0b0a3b.tar.gz rails-c86fa4f040cd0abf2382d1f87becb9cecc0b0a3b.tar.bz2 rails-c86fa4f040cd0abf2382d1f87becb9cecc0b0a3b.zip |
Merge pull request #32482 from yhirano55/remove_record_tag_helper
Remove RecordTagHelper
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r-- | actionview/lib/action_view/helpers.rb | 2 | ||||
-rw-r--r-- | actionview/lib/action_view/helpers/record_tag_helper.rb | 23 |
2 files changed, 0 insertions, 25 deletions
diff --git a/actionview/lib/action_view/helpers.rb b/actionview/lib/action_view/helpers.rb index 8cc8013718..0d77f74171 100644 --- a/actionview/lib/action_view/helpers.rb +++ b/actionview/lib/action_view/helpers.rb @@ -23,7 +23,6 @@ module ActionView #:nodoc: autoload :JavaScriptHelper, "action_view/helpers/javascript_helper" autoload :NumberHelper autoload :OutputSafetyHelper - autoload :RecordTagHelper autoload :RenderingHelper autoload :SanitizeHelper autoload :TagHelper @@ -57,7 +56,6 @@ module ActionView #:nodoc: include JavaScriptHelper include NumberHelper include OutputSafetyHelper - include RecordTagHelper include RenderingHelper include SanitizeHelper include TagHelper 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 |