added notes on active record associations