[Rails] Re: Accessing Raw Post Data
Doug Jolley wrote:
>> irb(main):001:0> "foo".to_sym.class
>> => Symbol
>>
>> irb(main):002:0> :foo.to_s.class
>> => String
>
> VIOLA!!! That seems to be the missing link. Thanks ever so much. :)
>
> ... doug
One thing more to consider doug is learning from what you just
discovered. I wrote a program that utilizes all of google's api to
search anything and everything.
By writing this program which I call GoogleHack, I learned that there's
a great hidden codebase within google.
Click this link and bookmark the Code Search. When you discover the
answer to some of your questions, particularly around things like this,
you can search in-depth for code examples and find some great hidden
feedback in the process.
http://www.google.com/codesearch?as_q=:foo.to_s&hl=en&as_lang=ruby&as_license_restrict=i&as_license=&as_package=&as_filename=&as_case=
--
Posted via http://www.ruby-forum.com/.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home