relevance / diametric

Diametric is a library for building schemas, queries, and transactions for Datomic from Ruby objects.
MIT License
169 stars 28 forks source link

Diametric::Associations::Collection#delete doesn't delete reified entities #66

Closed scotdalton closed 9 years ago

scotdalton commented 9 years ago

I think this line should be @data.delete_if { |e| e.to_i == entity.dbid }

I can submit a PR if you agree.

And thanks for the gem. It's great for learning datomic in a familiar setting.

scotdalton commented 9 years ago

Nvm. I think I'm just using it in the wrong way. Sorry for the noise.