Hi,
From an external source I am getting data in the following format / encoding:
http://www.mydomain.com/app?message=%003%000%009%009%003%004

how do I convert the message parameter into plain string 309934? 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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

  • Santosh c at Jan 24, 2012 at 5:18 pm
    Any takers?


    On Tue, Jan 24, 2012 at 4:14 AM, Santosh c wrote:
    Hi,
    From an external source I am getting data in the following format / encoding:

    http://www.mydomain.com/app?message=%003%000%009%009%003%004

    how do I convert the message parameter into plain string 309934? 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+unsubscribe@googlegroups.com.
    For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
  • Colin Law at Jan 24, 2012 at 5:26 pm

    On 23 January 2012 22:44, Santosh c wrote:
    Hi,
    From an external source I am getting data in the following format / encoding:

    http://www.mydomain.com/app?message=%003%000%009%009%003%004

    how do I convert the message parameter into plain string 309934? Thanks.
    If you use ruby-debug to break in and examine params[:message] what
    does it show?

    Colin

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
categoriesrubyonrails
postedJan 23, '12 at 10:44p
activeJan 24, '12 at 5:26p
posts3
users2
websiterubyonrails.org
irc#RubyOnRails

2 users in discussion

Santosh c: 2 posts Colin Law: 1 post

People

Translate

site design / logo © 2021 Grokbase