I think you just go -
has n, :things, :through => :the_model_name_of _your_choice

On Dec 14, 1:27 pm, Paul Dlug <[email protected]> wrote:
> Is there an option to specify the name of the join table for many-to-
> many relationships? I'm using models that are inside a module rather
> than at the top level namespace (e.g. Product::User) and the generated
> table name includes the module path (product_user_accounts). I'd like
> to override this to something like just 'user_accounts' but I don't
> see an option for doing this.

--

You received this message because you are subscribed to the Google Groups 
"DataMapper" 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/datamapper?hl=en.


Reply via email to