Hi,
i have a Permissions table with rank_id:integer, group_id:integer and
a key:string
a group model and a rank model.
The group has_many “virtual permissions” through the join table. Each
permission type
is identified by the key in the permissions table with a :condition on
the has_many association.
But when i add a association through the has_many association it
doesn’t create the
permissions entry with the right key. It just puts NULL into the
permissions.key field.
This is my code (the important parts of the models) with a example
which operation fails.
any ideas?