Hi
   My application has facility that any user can create a ticket from
the intranet site.So upon creating a ticket he gives an email id .And I
have to send mail back to this mail id giving created ticket's
information..My application is running on differnt ports (say 3000 and
3001 or example) Both for two companies..So as part of ticket creation
email to be send to [EMAIL PROTECTED](if it created from company 1
intranet),  and similarly [EMAIL PROTECTED] it created from company 2
intranet..here [EMAIL PROTECTED] and [EMAIL PROTECTED] are text boxes
eneterd by the user
     So where will I store the portion after @ (company1,company2) .Is
it inside a global variable by reading it from a yml file?This I am
doing to change code for second company..I think you understand the
problem

      And also one thing Suppose if I store it in a yml file can I call
this only once when I enter in to the controller ..As far I undestod
before_filer is called = no of times specified action is called

Thanks in advance
Sijo
-- 
Posted via http://www.ruby-forum.com/.

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

Reply via email to