On 7 July 2013 18:16, optimus 203 <[email protected]> wrote: > Hey everyone. I'm new to ROR, and I followed and implemented the > beginner Ruby On Rails Tutorial (2nd Edition) code, and its working > great. For those who are unfamiliar, this creates a site that acts much > like Twitter. > > If someone enter the hex value for a color (say #ff0000 for red), I > would like for ROR to convert that to an HTML color box representation > in > the post that is created. Any ideas on how to accomplish this?
Can you explain in a bit more detail what you want? I am not sure what you mean by converting #ff0000 to a colour box representation. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLuCozBUtLWha_s%2BCyt8HLPsSBQDL-Sk8AuyiDYC7a1%2B2Q%40mail.gmail.com. For more options, visit https://groups.google.com/groups/opt_out.

