Ticket #32 (closed enhancement: wontfix)

Opened 5 years ago

Last modified 4 years ago

Allow table name to be overridden on associable tables

Reported by: guest Owned by:
Priority: trivial Milestone:
Component: extensions Version: 0.5.0
Keywords: Cc:

Description

Playing around with the associable extension, I noticed it defaults to adding 'able' to the table name. This is a reasonable default, but in some cases these are funky:

tagable
voteable

Change History

Changed 5 years ago by ged

I personally won't fix this as I consider the associable extension to be useless in its current form and don't recommend using it (normal many to many relationships are simpler and more efficient for no added limitation).

A few month ago, I had rewritten it to provide the "polymorphic" side of the relationship (which is IMO the interesting bit of that pattern), but never got around to clean up that code and commit it. Once that is done (in an undetermined period of time), I'd gladly accept any feature request about it.

That said, if you (or anyone else) come up with a patch (that shouldn't be hard to do) to fix your issue in the current code base, I'll gladly apply it.

Changed 4 years ago by ged

  • status changed from new to closed
  • resolution set to wontfix

Closing due to inactivity... Feel free to reopen if you have a working patch...

Note: See TracTickets for help on using tickets.