Thread hijack! 

I have another question in this vein: I have a model acting as a local 
reference (called LocalDoc) to a model based on a remote legacy table (called 
Doc) whose primary key is, gulp, a string. The LocalDoc model has a belongs_to 
:doc declaration, which makes hobo_migration want to change LocalDoc's doc_id 
field from a :string to an :integer. I don't want it to do that, but I still 
want to be able to run hobo_migrations. Is there any facility for setting an 
ignore flag on a certain part of the model so it doesn't keep bugging me about 
changing doc_id?

Thanks,
Andy

> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Edmund
> Sent: Sunday, October 26, 2008 10:27 AM
> To: Hobo Users
> Subject: [Hobo Users] Non-Autogenerated Primary Key in Hobo
> 
> 
> 
> 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