If output is as expected, is this assert important?
Use method instead of asssociation_ids if method exists. Fixes #267
Merge pull request #273 from seanabrahams/embed-ids-not-using-local-method

Fixes #267