Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow group settings with string keys
This fixes an issue where settings are created/updated in the JSON API, which has no notion of symbols as implemented by Ruby. Consequently, these settings get ignored when looked up by symbol. My solution was to override the `settings` method to return a `HashWithIndifferentAccess`. I am personally not a fan of `HashWithIndifferentAccess`, but considered this the best of several options. Alternatives considered: * update everywhere that we might be sending hashes with string keys, convert them to symbols * override the setter to accept hashes with symbols or strings, but convert them to all symbols prior to writing. Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1424842
- Loading branch information