Cool Thanks man! I am just getting hard time using this in my existing application. I am suppose to demo this tomorrow and its not working for me. Just too stressed man
So basically in my components's `Mycomponent.html.erb` file I am using a helper function `current_user_role` defined in a BaseController class. But the Components says that it can not find any variable or method with this name, which makes sense because I will have to inherit from that class. Now the issue is that Components already inherit `ViewComponents::Base` (yeah name changed). I know there should be a work around but I am kind of new to Ruby and am facing a hard time