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, is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential and/or exempt from disclosure. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this message, or any attachment, is strictly prohibited. If you have received this message in error, please delete this message, along with any attachments, from your computer and any hardcopy. The contents of this communication shall not be deemed legal, tax or investment advice and you are advised to consult your professional advisors. Thank you. -- 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 sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/1a79ca86-657a-4a28-ad70-dda609b39ab1n%40googlegroups.com.