madeintandem / hstore_accessor

Adds typed hstore-backed field support to ActiveRecord models.
MIT License
242 stars 47 forks source link

Unable to define a hstore field as a primary_key in a has_many association #75

Open axelson opened 7 years ago

axelson commented 7 years ago

If I try to define an individual hstore field as a primary key in a has_many association the generated SQL is just searching for NULL (Postgres). Is it possible to support this use-case, or is there at least a work-around?