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/active_record/associations
Rafael Mendonça França 1918b12c04 Fix wrong behavior where associations with dependent: :destroy options
was using nullify strategy

This caused a regression in applications trying to upgrade.

Also if the user set the dependent option as destroy he expects to get
the records removed from the database.
2013-11-01 19:04:30 -02:00
..
builder Method visibility will not make difference here 2013-10-09 20:59:15 -03:00
join_dependency build the association graph functionally 2013-10-21 15:08:51 -07:00
preloader read the association instead of sending 2013-10-14 17:30:29 -07:00
alias_tracker.rb
association.rb add inversed accessor to association class 2013-10-13 21:51:40 +01:00
association_scope.rb Skip include_values from through associations chains for building target scope 2013-10-27 21:15:41 +02:00
belongs_to_association.rb Remove useless comment and white spaces ✂️ [ci skip] 2013-09-01 16:46:18 -03:00
belongs_to_polymorphic_association.rb
collection_association.rb Fix wrong behavior where associations with dependent: :destroy options 2013-11-01 19:04:30 -02:00
collection_proxy.rb Fix typo: has_many :pets, not pets :has_many. 2013-10-24 10:58:23 -04:00
has_many_association.rb Make sure inverse_of is visible on the has_many callbacks 2013-09-25 14:24:27 -04:00
has_many_through_association.rb fix deleting join models with no pk 2013-09-11 11:23:30 -07:00
has_one_association.rb Merge pull request #12135 from dylanahsmith/avoid_empty_transaction 2013-09-11 18:53:52 -03:00
has_one_through_association.rb
join_dependency.rb move helper class to the top 2013-10-21 15:41:25 -07:00
join_helper.rb map the association chain to table names 2013-10-03 11:04:29 -07:00
preloader.rb Make missed association exception message more informative 2013-10-13 21:56:44 +03:00
singular_association.rb Remove useless comment and white spaces ✂️ [ci skip] 2013-09-01 16:46:18 -03:00
through_association.rb use drop and avoid a range object 2013-08-01 16:28:11 -07:00