Y
Hacker News
new
|
ask
|
show
|
jobs
by
chris_wot
5125 days ago
I might be missing something here, but in ticket.rb, it has the line:
has_many :issue
and in issue.rb, it has the line:
has_many :ticket
Why a M:N mapping of issues to tickets? Were you planning of future expansion?
1 comments
AlexBlom
5125 days ago
Perhaps I mis-spoke above. An issue can be associated with multiple tickets, just as a ticket can be associated with multiple issues. The latter is not beefed as much in the code, as I found the use case to be less once live.
link