I had the same problem, this helped me:
write_attribute("title", title.gsub(...))
Have luck!
I had the same problem, this helped me:
write_attribute("title", title.gsub(...))
Have luck!
Paweł K wrote:
I had the same problem, this helped me:
write_attribute("title", title.gsub(...))
Have luck!
thanks, but where does that go? in my items model?
Yup, in the model
So you could make this:
def title=(str) Â Â Â write_attribute("title", str.gsub("_", " ")) end
this so far helps with stack problem