[typo] Ecto not working for me - can't post, need help

Scott Laird scott at sigkill.org
Sat Dec 31 10:26:02 EST 2005

On Dec 30, 2005, at 9:08 PM, Chris Bailey wrote:

> My apologies for the premature send.  I now/also tried posting from
> the web admin interface of typo, and got an error:
>   1 error prohibited this article from being saved
>   There were problems with the following fields:
>   Guid has already been taken
> I have recently done some big upgrades/migrates (was on 47x now on
> 801), and had some trouble along the way.  I thought everything was
> fixed up, but obviously not.  I see that this has been brought up
> somewhat recently (Nov 30) on the list
> (http://www.mail-archive.com/typo-list@rubyforge.org/msg01069.html),
> but there was no reply.  Tom or anyone, was there a resolution?

Try this from ./script/console:

   Article.find(:all).each do |a|
     a.save if a.guid.blank?


More information about the Typo-list mailing list