[typo] Problem with upgrade from trunk 855

cedric cedric at feelfree.homelinux.com
Wed Mar 8 04:02:04 EST 2006


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!!!)

> 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
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>




More information about the Typo-list mailing list