RAILS_DEFAULT_LOGGER.debug or whatever method you want to invoke.
On Aug 24, 2007, at 5:01 AM, dailer wrote:
>
> I have a helper module /lib/foo_helper.rb. It works fine but any calls
> to logger result in:
>
> undefined local variable or method `logger''
>
> how can I get access to the logger here? (it works from my model
> classes)
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---