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-09-07 09:27:41 +01: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 association_primary_key in AssociationScope#add_constraints 2011-05-26 11:00:27 +02:00
belongs_to_association.rb Don't find belongs_to target when the foreign_key is NULL. Fixes #2828 2011-09-05 13:49:29 -07: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 Changed a few instances of of words in the API docs written in British English to 2011-07-24 10:21:42 +00:00
collection_proxy.rb Add a proxy_association method to association proxies, which can be called by association extensions to access information about the association. This replaces proxy_owner etc with proxy_association.owner. 2011-07-27 12:36:00 +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 added an alias for new to build to the AR collection proxy, this corrects an issue where the collection proxies were not consistent 2011-06-01 00:01:35 +01: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 Don't include any of includes, preload, joins, eager_load in the through association scope. 2011-09-07 09:27:41 +01:00