rails/activerecord/lib
ak 93b8c24f18 Use non-exist enum string to get unrelated record in My SQL
This behaviour is in
rails/activerecord/lib/active_record/enum.rb #serialize(value) line no 143
if value is not present in mapping we are sending the value back ,
which in mysql returns unrelated record.

I have changed to return nil is value is not present in mapping

Implemented code review changes

Improved test case coverage

[ci skip] - cosmetic changes for better readibility of change log

Signed-off-by: ak <atulkanswal@gmail.com>
2020-03-18 16:37:45 +05:30
..
active_record Use non-exist enum string to get unrelated record in My SQL 2020-03-18 16:37:45 +05:30
arel Refactor fetch_attribute 2020-03-13 13:38:32 -04:00
rails/generators Deprecate spec_name and use name for configurations 2020-02-24 13:27:07 -05:00
active_record.rb Move advisory lock to it's own connection 2020-01-23 14:36:32 -05:00
arel.rb Merge pull request #38719 from eileencodes/refactor-fetch_attribute 2020-03-13 16:26:49 -04:00