Displaying 1 result from an estimated 1 matches for "xxx_with".
Did you mean:
mix_with
2007 Mar 13
0
aliasing, require_dependency and require
...alias the method in application.rb and
initial attempt without loading ''application''
The interesting parts (for me) are the last two frames:
Firstly, I use require_dependency to load ApplicationController but as
you can see the aliasing doesn''t work (funnily enough the xxx_with/out
methods are defined).
Secondly, I use ''require'' to load ApplicationController and here
aliasing works as it should but I''m losing reloading of application.rb.
The same behaviour is observed if I use the following module included
method:
#speaker plugin init.rb
#r...