Open xiangge opened 6 years ago
Sorry for commit several time after your comments, correct several time about the blank line and space in ".rubocop.yml"
Sorry for the slow review. It seems like it would better to squash this down into a few commits since the later commits seem like fixups and design changes. Do you want to try cleaning up the history and repushing? This should make review easier also.
Add the belongs to association. As this our ruby gem is just used for selecting data. So not add the new/build association part.
Use can add the association in the class codes and also add a foreign_key method with the foreign key attribute return.