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


                          





                                                                              
         
 





                                                                                    

         
     
   
# frozen_string_literal: true
module ActionView
  module Helpers
    module RecordTagHelper
      def div_for(*)
        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(*)
        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