> 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?
Yeah that problem occurred to me too. No - there's no such option at the moment. You could try putting this immediately after the belongs_to declare_attr_type :doc_id, :string Tom --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
