How do you do the equivalent of:
...in Rails 3?
I'm trying to upgrade my app from 2.3.9 to 3.0.1 and I have some stuff
in /lib that needs to include these helpers from ActionView. It works
fine in 2.3.x, but in 3.x it's giving me the error:
undefined local variable or method `config'
One of the methods in AssetTagHelper now tries to access
controller.config.perform_caching, but since no controller exists in
my library, it flips out. Any way around this?