Skip to content

undefined local variable or method `rapidfire' for #<Rapidfire::QuestionsController:0x0....> #109

@codeodor

Description

@codeodor

After creating a question (using the master branch), I get this error.

I worked around it by creating an initializer that does this:

Rails.application.config.after_initialize do
  Rapidfire::ApplicationController.class_eval do
    def rapidfire
      self
    end
  end
end

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