rails--rails/activerecord/test
George Claghorn fc3acf2e8d Add change tracking methods for belongs_to associations
Permit checking whether a belongs_to association has been pointed to a new target record in the previous save and whether it will point to a new target record in the next save.

    post.category # => #<Category id: 1, name: "Ruby">

    post.category = Category.second   # => #<Category id: 2, name: "Programming">
    post.category_changed?            # => true
    post.category_previously_changed? # => false

    post.save!

    post.category_changed?            # => false
    post.category_previously_changed? # => true
2021-07-19 14:39:13 -04:00
..
active_record/connection_adapters
activejob Revert "Run ActiveRecord -> ActiveJob integration tests in CI" 2021-06-15 11:19:04 -04:00
assets
cases Add change tracking methods for belongs_to associations 2021-07-19 14:39:13 -04:00
fixtures Verify foreign keys after loading fixtures 2021-07-07 15:41:05 -05:00
migrations
models Add `available_records` argument to Associations::Preloader 2021-07-14 08:44:03 -04:00
schema Verify foreign keys after loading fixtures 2021-07-07 15:41:05 -05:00
support Move async_query confurations on the ActiveRecord module 2021-06-10 18:31:33 +02:00
config.example.yml
config.rb