ankane / blazer

Business intelligence made simple
MIT License
4.5k stars 471 forks source link

Ambiguous BaseController #433

Closed atagunay closed 1 year ago

atagunay commented 1 year ago

Hello there,

First of all, Thanks for the amazing gem.

If your project has a class called BaseController, which I also have, the interpreter is confused.


For example:

  1. This is my base controller
class Admin::BaseController < BaseController
  1. And this is gem's base controller
BaseController < ApplicationController
  1. This is the error image
ankane commented 1 year ago

Hi @atagunay, I'm not sure how to reproduce, but think it's something specific to your application. BaseController refers to Blazer::BaseController when nested in the Blazer module, so it's not ambiguous.