N
Newb Newb
Hi all
I am not Expert at Rails or Ruby
I have a string ..it contains text and images also..
from that string i want to replace the images into empty space..that
is images Has to Be Removed.
I tried to solve By using string.gsub..But doesn't Work
I tried like below
item.description = item.description.gsub("img src ",'')
So any guru can give Me solution...
I am not Expert at Rails or Ruby
I have a string ..it contains text and images also..
from that string i want to replace the images into empty space..that
is images Has to Be Removed.
I tried to solve By using string.gsub..But doesn't Work
I tried like below
item.description = item.description.gsub("img src ",'')
So any guru can give Me solution...