association_join overwriting id of original model with association's id

2021-09-23 Thread 'Matt Culpepper' via sequel-talk
This code: Model.association_join(:another_model).each { |m| puts m.id } is outputting the id for `another_model` rather than the original model id. That's very unexpected to me. Is this intentional? -- NOTICE: This message, together with any attachments,

Re: association_join overwriting id of original model with association's id

2021-09-23 Thread 'Matt Culpepper' via sequel-talk
`table_select` plugin is great. You are a wizard. On Thursday, September 23, 2021 at 4:24:45 PM UTC-5 Jeremy Evans wrote: > On Thu, Sep 23, 2021 at 12:40 PM 'Matt Culpepper' via sequel-talk < > seque...@googlegroups.com> wrote: > >> This code: >> >> Model.asso