Thanks, Matt. Looking forward to testing this out when you are ready. We'll try it out on Oracle as well....
On Aug 28, 4:23 pm, Matt Jones <[email protected]> wrote: > It's looking like I'll have some time this weekend and next, so > hopefully pretty soon... > > --Matt Jones > > On Aug 28, 2009, at 4:16 PM, Owen wrote: > > > > > When can we have this to test? : -) > > > On Aug 28, 3:58 pm, Owen <[email protected]> wrote: > >> The last thread was a great discussion. I would like to clarify my > >> understanding for your feedback using the example below: > > >> (Hobo doesn't use the" :unique => true" or ":required=> true", so why > >> ":index = true" instead of ":indexed" ?) > > >> <!-- ====== The Hobo Way ====== --> > >> fields do > > >> <!-- ====== short-and-sweet wayto declare indexes ====== --> > >> last_name :string, :required, :indexed > >> state_code :string, :required, :unique, :length => > >> 2, :indexed > > >> end > > >> <!-- ====== Foreign keys will NOT be indexed:====== --> > >> has_many :cars, :index => false > > >> <!-- ====== Foreign keys WILL be indexed:====== --> > >> has_many :posts > > >> <!-- ====== Mult-field index:====== --> > >> index [:last_name, :state_code], :name => > >> "contacts_name_plus_state_index" > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
