Skip to content

undefined method `content_tag'  #354

Closed
@Amnesthesia

Description

@Amnesthesia

No matter what I do, it seems that as soon as I click to view the details of any resource, I get this error.

undefined method `content_tag' for #Apipie::ApipiesController:0x007fecd8cd6ff0

I'm on Ruby 2.1.4 and Rails 4.2.1

Extracted source (around line #4):

  def heading(title, level=1)
    content_tag("h#{level}") do
      title
    end
  end

Top stack trace:

  1. apipie-rails (0.3.4) app/helpers/apipie_helper.rb:4:in `heading'
  2. actionpack (4.2.1) lib/abstract_controller/helpers.rb:67:in `heading'
  3. apipie-rails (0.3.4) app/views/apipie/apipies/_method_detail.erb:4:in `__home_amnesthesia__rvm_gems_ruby________ow_n_gems_apipie_rails_______app_views_apipie_4. apipies__method_detail_erb___4240183086102969573_60079080'
  4. actionview (4.2.1) lib/action_view/template.rb:145:in `block in render'
  5. activesupport (4.2.1) lib/active_support/notifications.rb:166:in `instrument'
  6. actionview (4.2.1) lib/action_view/template.rb:333:in `instrument'
  7. actionview (4.2.1) lib/action_view/template.rb:143:in `render'
  8. actionview (4.2.1) lib/action_view/renderer/partial_renderer.rb:339:in `render_partial'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions