undefined local variable or method `controller_path' Do I need to install anything explicit? For the nosies, I'm looking for (building) a breadcrumb routine (as page independant/DRY-less as possible). Like "mods > crm > customer > add contact" Regards, Gerard -- "Who cares if it doesn't do anything? It was made with our new Triple-Iso-Bifurcated-Krypton-Gate-MOS process ..." My $Grtz =~ Gerard; ~ :wq!
on 2006-01-14 10:36
on 2006-07-11 21:52
I just ran into this problem. Has anyone else gotten this as well? Did you find a solution? I'm implementing the authorization recipe from Fowler's Rails Recipes. Since I have modules, I need to use controller_path instead of controller_name in my rights. I see the source for controller_path in Base.rb, so I'm confused why it can't be found. Perhaps I'll just stick .gsub(/Controller$/, '').underscore on the name.