Module: ActionView::Helpers::RecordTagHelper

Included in:
ActionView::Helpers
Defined in:
actionview/lib/action_view/helpers/record_tag_helper.rb

Instance Method Summary collapse

Instance Method Details

#content_tag_forObject

Raises:

  • (NoMethodError)

12
13
14
15
16
17
18
# File 'actionview/lib/action_view/helpers/record_tag_helper.rb', line 12

def (*)
  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

#div_forObject

Raises:

  • (NoMethodError)

4
5
6
7
8
9
10
# File 'actionview/lib/action_view/helpers/record_tag_helper.rb', line 4

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