I have a scenario were I would like to inject the IP address and UserAgent into an email when a database record is saved. I was thinking of implementing this via an observer but I don't know how to access the environment variables. Could anybody help or would this break Rails best practices and I should implement this differently.
Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---