1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/associations
wangjohn 26d19b4661 Created a method to automatically find inverse associations and cache
the results. Added tests to check to make sure that inverse associations are
automatically found when has_many, has_one, or belongs_to associations
are defined.
2013-05-07 23:24:43 -04:00
..
association_scope_test.rb Represent association scope options as AR::Relations insternally. 2012-07-13 16:23:06 +01:00
belongs_to_associations_test.rb Confirm a record has not already been destroyed before decrementing 2013-05-06 21:09:14 -04:00
callbacks_test.rb Revert "Use flat_map { } instead of map {}.flatten" 2012-10-05 12:07:16 -03:00
cascaded_eager_loading_test.rb Deprecate the :distinct option for Relation#count. 2013-03-15 14:15:47 +01:00
eager_load_includes_full_sti_class_test.rb Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by" 2013-01-18 09:15:19 -05:00
eager_load_nested_include_test.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
eager_singularization_test.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
eager_test.rb has_many through obeys order on through association 2013-04-04 15:45:13 -04:00
extension_test.rb Fix destructive side effects from marshaling an association caused by 65843e1acc 2012-09-25 13:20:35 -07:00
has_and_belongs_to_many_associations_test.rb rename Relation#uniq to Relation#distinct. #uniq still works. 2013-03-15 14:15:47 +01:00
has_many_associations_test.rb Update counter cache when pushing into association 2013-04-21 18:34:11 -07:00
has_many_through_associations_test.rb has_many through obeys order on through association 2013-04-04 15:45:13 -04:00
has_one_associations_test.rb Fix #8856 Ensure has_one association=(associate) triggers save. 2013-04-30 16:14:16 -07:00
has_one_through_associations_test.rb Deprecate ActiveRecord::Base.scoped. 2012-07-27 17:27:47 +01:00
inner_join_association_test.rb Deprecate the :distinct option for Relation#count. 2013-03-15 14:15:47 +01:00
inverse_associations_test.rb Created a method to automatically find inverse associations and cache 2013-05-07 23:24:43 -04:00
join_dependency_test.rb Change JoinPart test from an integration to a unit test 2012-07-05 11:23:01 -04:00
join_model_test.rb Fix some typos in AR- CHANGELOG, tests, method doc. fixed 2013-03-20 11:17:01 +05:30
nested_through_associations_test.rb rename Relation#uniq to Relation#distinct. #uniq still works. 2013-03-15 14:15:47 +01:00