> Primary key fields are restricted by default.  Use
> Film.unrestrict_primary_key.
>
> Jeremy

Ah. So you can only use Model.create(values) if there are _no_ primary
keys ?
I can understand a reluctance to _update_ a primary key but surely to
create a
record this is a rather strange restriction ?
In my, not too extensive, database experience there tends to be a
primary key always.

And in the last working case, isn't the restricted key set anyway ?

Don't you agree that making a distinction between update and create
makes sense?

Cheers,

Han Holl
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sequel-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/sequel-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to