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
2011-11-30 18:12:24 -05:00
..
builder avoid warnings 2011-11-27 14:15:40 -08:00
join_dependency Fix problem with loading polymorphic associations which have been defined in an abstract superclass. Fixes #552. 2011-05-22 21:25:02 +01:00
preloader Make it the responsibility of the connection to hold onto an ARel visitor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. 2011-08-08 23:28:23 +01:00
alias_tracker.rb The join_nodes must be passed to the JoinDependency initializer and therefore counted by the alias tracker. This is because the association_joins are aliased on initialization and then the tables are cached, so it is no use to alias the join_nodes later. Fixes #2556. 2011-08-29 15:05:47 +01:00
association.rb Fix private methods which are delegated to. This previously worked because Module#delegate previously ignored method visibility. 2011-08-15 12:38:44 +01:00
association_scope.rb Use uniq instead of manually putting a DISTINCT in the query 2011-11-05 16:22:18 +00:00
belongs_to_association.rb Fix belongs_to polymorphic with custom primary key on target. 2011-09-26 15:42:34 +01:00
belongs_to_polymorphic_association.rb Fix private methods which are delegated to. This previously worked because Module#delegate previously ignored method visibility. 2011-08-15 12:38:44 +01:00
collection_association.rb load has_many associations keyed off a custom primary key if that key is present but the record is unsaved 2011-11-25 08:24:54 -07:00
collection_proxy.rb ActiveRecord::Relation#pluck method 2011-11-30 11:03:00 +02:00
has_and_belongs_to_many_association.rb Make it the responsibility of the connection to hold onto an ARel visitor for generating SQL. This improves the code architecture generally, and solves some problems with marshalling. Adapter authors please take note: you now need to define an Adapter.visitor_for method, but it degrades gracefully with a deprecation warning for now. 2011-08-08 23:28:23 +01:00
has_many_association.rb load has_many associations keyed off a custom primary key if that key is present but the record is unsaved 2011-11-25 08:24:54 -07:00
has_many_through_association.rb Memoize through association 2011-11-03 13:24:39 +00:00
has_one_association.rb Only call set_owner_attributes for has_one association if target exists. 2011-07-04 18:43:09 +02:00
has_one_through_association.rb Merge branch 'master' into nested_has_many_through 2011-03-04 09:30:27 +00:00
join_dependency.rb reintroduce patch from #726 to handle nested eager loading via associations 2011-11-30 18:12:24 -05:00
join_helper.rb a few minor performance improvements: fewer strings, fewer range objects, fewer method calls 2011-07-01 15:20:11 -07:00
preloader.rb Rewrote AssociationPreload. 2011-02-28 22:12:34 +00:00
singular_association.rb Ensure that the foreign key gets set when doing record.create_association or record.create_association. Fixes #1960. 2011-07-08 21:03:54 +01:00
through_association.rb Fix #3247. 2011-11-03 10:23:42 +00:00