Make sure the instance is persisted before trying to get it's id
Make sure the instance is persisted before trying to get it's id

pat/thinking-sphinx,musik/thinking-sphinx,ghedamat/thinking-sphinx,jdelStrother/thinking-sphinx,pat/thinking-sphinx