breaking down active record associations, examples added