Hi all, If I use the `_add_association` method to customise an association, would anyone know of a way to access the options passed when setting up the association? For instance, how would I get the :join_table while within the method, instead of just looking up the declaration in the code? I had a look through the docs and API reference but didn't find the answer. Or is the answer just to not bother with the options because I'm defining the method manually anyway?
My specific use case right now is to override a many to many association's add method to find or create the associated object from the passed in term, and then add the record to the join table. Any help or insight would be much appreciated. Regards, Iain -- 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.
