guard against nil @associations_pot
Merge pull request #355 from singlebrook/fix_nil_hash

guard against nil @associations_pot