maybe i misunderstand, but what i see is a helper-method in
application_helper. i don't know how many times you call that method
in one single view, but if you call it only once @rev is not yet set
when you write it into your log file.

does the method return your revision-number correctly?

if so, why don't you just write something like this:

  Footer ... <%= revision_info %>

--~--~---------~--~----~------------~-------~--~----~
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to