Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
chris_wot
13y ago
0 comments
Share
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?
undefined | Better HN
0 comments
default
newest
oldest
AlexBlom
13y 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.
j
/
k
navigate · click thread line to collapse