distinct for unique has_many
Merge branch 'rubyfied' of github.com:caminio/caminio into rubyfied