On 28 Jan 2009, at 21:14, Rt Rr wrote:
>
>
> hello , I am designing a project for a news website and I am new to
> ROR
> I am facing a problem with the add news function
>
> this is the error
>
> Mysql::Error: Duplicate entry '' for key 1: INSERT INTO `articals`
> (`body`, `title`, `date`, `tag`) VALUES('nnn', 'llllhhh',
> '2008-03-02',
> 'tttt')
>
sounds like you've got a unique index somewhere.
Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---