1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Laerti 41ffddbc8b Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28078)
This PR addresses the issue described in #28025. On `dependent: :nullify` strategy only the foreign key of the relation is nullified. However on polymorphic associations the  `*_type` column is not nullified leaving the record with a NULL `*_id` but the `*_type` column is present.
2019-01-15 23:03:20 +09:00
..
active_record Refs #28025 nullify *_type column on polymorphic associations on :nu… (#28078) 2019-01-15 23:03:20 +09:00
arel Remove unused Arel::Compatibility::Wheres 2019-01-15 22:13:25 +09:00
rails/generators Refactor migrations_path command option to database 2018-09-28 14:24:36 -04:00
active_record.rb Bump license years for 2019 2018-12-31 10:24:38 +07:00
arel.rb Remove unused Arel::Compatibility::Wheres 2019-01-15 22:13:25 +09:00