Forum: Typo Problem with upgrade from trunk 855

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Jared Luxenberg (Guest)
on 2006-03-08 10:36
(Received via mailing list)
I was running trunk 855 on my site (http://jaredcam.net/) until
yesterday, when I upgraded to trunk 876.  Everything went smoothly, but
none of my tags had "display_name"s in the database, so the display of
tags in articles was screwed up.  I changed the articles_helper to use
display_name or name for the link text of tags.

Should my tags have display_names?

- Jared
cedric (Guest)
on 2006-03-08 11:00
(Received via mailing list)
Yes display_name needs to be filled,
for me you should do in a console

a=Tag.find_all
a.each do |item|
item.display_name=item.name
item.save
end

it works for me!
(backup your database before playing with!!!)
This topic is locked and can not be replied to.