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-05 16:22:18 +00:00
..
builder Destroy association habtm record before destroying the record itself. Fixes issue #402. 2011-07-08 22:26:54 +01: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 Merge pull request #3507 from jmazzi/issue-3503 2011-11-03 21:17:15 -07:00
collection_proxy.rb CollectionProxy#replace should change the DB records rather than just mutating the array. Fixes #3020. 2011-09-26 10:41:58 +01: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 Only save the record once when calling create! on a collection association. Fixes #1360. 2011-05-31 20:32:09 +01: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 Ensure empty has_many :through association preloaded via joins is marked as loaded. Fixes #2054. 2011-08-15 16:01:01 +01: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