ben7th/vote — comment on commit 1afdf4f1b141836a3e42fef702e168045065dfb9
File: app/models/vote.rb line 8
By fushang318:

has_many 一对多关联

Vote.vote_items 相当于
VoteItem.find_all_by_vote_id(vote.id)