fix spec
support namespaced rails models
fixed bug in association call