Closed wildchild closed 13 years ago
Thanx for brining this one to my attention. Unfortunately my Rails fu hack skills are not yet strong. Here's the code that currently includes the view helper methods.
I'd love to know a better way to do this if there is a more railsy accepted way I'll go with it.
Cheers
Doh! I forgot to mention that I just empirically removed Rails.configuration.after_initialize block and everything seems good.
I am not sure that this is exactly warden issue (sorry for rhyming), but users should know about this problem so I opening this one. I am using cucumber + rspec-rails and by default I have the following in cucumber environment:
That can result in: undefined local variable or method `warden' for #ActionView::Base:0x24de7f0 (ActionView::TemplateError)
All works fine if gem config changed to: