aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers/record_tag_helper.rb
blob: f7ee573035da5b85d8267a7b33c04394133191c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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