I am in the process of upgrading from 6.0.3 to 6.1.4. Once thing I noticed after the upgrade is that, enum attributes are no longer returning the keys. Its returning the actual value in the database.
eg:
enum onboard_variation: {
key1: "value1",
key2: "value2",
key3: "value3"
}
In the console
Rails 6.0.3
Account.first.onboard_variation => "key1"
Rails 6.1.4
Account.first.onboard_variation => "value1"
I went through the entire release notes and there is not mention of this change. What could be contributing to this?