On Thursday, January 4, 2018 at 7:23:11 AM UTC-8, Tim Tilberg wrote: > > I fear the answer to this question will simply be "Don't use the class > name `Model`" -- I'd like to avoid this, as the word Model is the most > meaningful in our context, and is largely established in the greater system. >
You can use the class name Model, but you shouldn't use the association name model, as that overrides Sequel::Model#model in a way that breaks Sequel::Model. You can probably do: Submodel.many_to_one :parent_model, :class=>:Model Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
