Nevermind... I now see the :one_to_one option available in the one_to_many method in Sequel::Model.
-- Bryan On Dec 18, 12:11 pm, Bryan Richardson <[email protected]> wrote: > Hello All, > > I'm in the process of converting an existing Ruby application from > ActiveRecord to Sequel. I have a table in my application database in > which each row in the table always has one and only one association > with a row of data in another table. In ActiveRecord, I represented > this relationship with has_one/belongs_to. However, it looks as > though Sequel doesn't have a has_one association. > > Given how mature and widespread Sequel is, I'm sure there's a way to > represent a relationship such as this. Can anyone give me any > pointers for doing so? > > -- > Thanks! > Bryan --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
