Ok, in my example I just forgot to instantiate Test
t = Test.new t.methods.include? 'load_widget' # also results to true
But why I cannot call the method from withing the controller? :-/
Ok, in my example I just forgot to instantiate Test
t = Test.new t.methods.include? 'load_widget' # also results to true
But why I cannot call the method from withing the controller? :-/
Ok, in my example I just forgot to instantiate Test
t = Test.new t.methods.include? 'load_widget' # also results to true
But why I cannot call the method from withing the controller? :-/
How are you calling things ? My guess is you're trying
class Test< ActionController::Base some_method_from_your_plugin end
For this to work some_method_from_your_plugin needs to be a class method (since you are calling it on Test itself, not an instance of it) but it looks like you're only adding instance methods.
Fred