I have a small server side ASP script (4 lines). I need its equivalent script in Ruby on Rails.
If you are not an ASP developer and can't understand ASP script, I can share the same script in ASP.NET (or) PHP (Or) PERL versions for you to understand.
I need the Ruby on Rails code in a day or two. I just have a little budget for this.
The ASP Code is attached.