AFAIK Rails does not assume the primary key is auto-generated as such.  
If you specify your own ID when creating an ActiveRecord object, that  
ID should be used.

Have you tried just adding an <input:id> to the form?

Or just include the ID in the list of fields you want edited:

<new-page>
   <form:><field-list fields="id, name, address, ..."/></form>
</new-page>

Tom

On 26 Oct 2008, at 14:26, Edmund wrote:

>
>
> We are working on a prototype application that will use "legacy"
> tables from existing business applications.  How can we specify that a
> table's primary key is non-autogenerated?  The objective is to include
> the primary key as field when creating or editing table records.
>
> Thanks,
> Edmund
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to