use scope block, has_many