aboutsummaryrefslogblamecommitdiffstats
path: root/actionview/lib/action_view/helpers/record_tag_helper.rb
blob: 4303de4209131f8a598c647e6f7e321840d59da1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                             


                          
                              




                                                                              
         
 
                                      




                                                                                    

         
     
   
# frozen_string_literal: true

module ActionView
  module Helpers
    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