Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/trunk/activerecord/lib/active_record/associations


Mode:

Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @9231 [9231] 04/06/08 02:18:42 pratik Remove duplicate code from associations. [Pratik]
(edit) @9230 [9230] 04/06/08 00:27:12 pratik Refactor HasManyThroughAssociation to inherit from HasManyAssociation. …
(edit) @9229 [9229] 04/05/08 16:25:48 pratik Ensure HABTM#create and HABTM#build do not load entire association. …
(edit) @9226 [9226] 04/05/08 03:52:58 pratik Improve documentation.
(edit) @9225 [9225] 04/04/08 20:26:42 josh Replaced callback method evaluation in AssociationCollection class to use …
(edit) @9224 [9224] 04/04/08 14:37:22 nzkoz Make HABTM#create behave the same as << with after_add callbacks. Closes …
(edit) @9200 [9200] 04/01/08 18:27:22 rick Add efficient #include? to AssociationCollection (for has_many/has_many …
(edit) @9110 [9110] 03/28/08 16:13:57 david Fixed that has_many :through would ignore the hash conditions (closes …
(edit) @9096 [9096] 03/26/08 15:40:57 rick Fix issue where the :uniq option of a has_many :through association is …
(edit) @9084 [9084] 03/24/08 02:50:02 rick Merge the has_finder gem, renamed as 'named_scope'. Closes #11404
(edit) @9068 [9068] 03/21/08 18:21:56 rick Allow association scoping for built/created records if :conditions is …
(edit) @9067 [9067] 03/21/08 18:09:03 rick Add has_one :through support, finally. Closes #4756 [thechrisoshow]
(edit) @8989 [8989] 03/07/08 11:45:07 pratik Add :readonly option to HasManyThrough associations. Closes #11156
(edit) @8957 [8957] 02/29/08 23:16:53 nzkoz Improve performance by avoiding named block arguments. Closes #11109
(edit) @8932 [8932] 02/27/08 22:26:50 bitsweat Remove dead code from hmt#delete. Closes #11236 [rubyruy]
(edit) @8890 [8890] 02/18/08 00:14:54 nzkoz Make dynamic finders respect the :include on HasManyThrough associations. …
(edit) @8874 [8874] 02/15/08 21:47:27 bitsweat Revert [8865], broke AP record identifier. Reopens #11109.
(edit) @8869 [8869] 02/14/08 20:02:19 nzkoz Minor formatting changes
(edit) @8865 [8865] 02/14/08 07:24:09 rick Improve associations performance by avoiding named block arguments. Closes …
(edit) @8864 [8864] 02/13/08 06:32:50 bitsweat Introduce the :readonly option to all associations. Records from the …
(edit) @8790 [8790] 02/03/08 01:09:58 bitsweat Revert r8742: remove has_many with :group option since it has sketchy sql …
(edit) @8776 [8776] 02/02/08 03:27:31 bitsweat Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey …
(edit) @8742 [8742] 01/27/08 02:41:55 nzkoz Make sure count works on has_many :through associations using :group. …
(edit) @8737 [8737] 01/26/08 08:33:48 nzkoz Remove dead attr_reader from association proxy. Closes #10668 [danger]
(edit) @8735 [8735] 01/26/08 06:23:03 nzkoz Make sure that belongs_to counter decrements when assigning nil Closes …
(edit) @8653 [8653] 01/18/08 01:55:11 rick Ensure that modifying has_and_belongs_to_many actions clear the query …
(edit) @8571 [8571] 01/05/08 14:58:28 bitsweat More thoroughly quote table names. Exposes some issues with sqlite2 …
(edit) @8481 [8481] 12/22/07 11:26:03 bitsweat Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized …
(edit) @8376 [8376] 12/11/07 20:08:30 rick Ensure that the :uniq option for has_many :through associations retains …
(edit) @8347 [8347] 12/10/07 01:07:04 bitsweat post.comments.reload returns the association rather than the result of …
(edit) @8313 [8313] 12/05/07 21:53:53 david Fixed that habtm associations should be able to set :select as part of …
(edit) @8301 [8301] 12/05/07 18:54:41 david Fix typos (closes #10378)
(edit) @8236 [8236] 11/29/07 02:19:10 nzkoz Make reset return nil when using a dangling belongs_to association. …
(edit) @8178 [8178] 11/21/07 07:32:44 bitsweat Dynamic finders on association collections respect association :limit. …
(edit) @8174 [8174] 11/21/07 01:51:57 nzkoz Make Dynamic Finders on Association Collections Respect Association :order …
(edit) @8128 [8128] 11/11/07 01:03:43 rick Fix HasManyThrough Association so it uses :conditions on the HasMany …
(edit) @8049 [8049] 10/28/07 03:39:18 nzkoz Make sure that << works on has_many associations on unsaved records. …
(edit) @8043 [8043] 10/27/07 18:51:32 bitsweat Fix has_many :through delete with custom foreign keys. Closes #6466.
(edit) @8030 [8030] 10/26/07 03:42:28 marcel Allow find on a has_many association defined with :finder_sql to accept id …
(edit) @7935 [7935] 10/16/07 05:07:58 bitsweat Refactor association create and build so before & after callbacks behave …
(edit) @7913 [7913] 10/15/07 08:09:04 bitsweat Alias association #build to #new so it behaves predictably. Closes #8787.
(edit) @7767 [7767] 10/07/07 05:05:12 nzkoz Fix calling .clear on a has_many :dependent=>:delete_all association. …
(edit) @7692 [7692] 09/30/07 06:47:20 rick Make size for has_many :through use counter cache if it exists. Closes …
(edit) @7666 [7666] 09/28/07 14:18:47 david Fixed spelling errors (closes #9706) [tarmo/rmm5t]
(edit) @7583 [7583] 09/22/07 23:15:54 david Removed unnecessary or statement (closes #7158) [richcollins]
(edit) @7554 [7554] 09/22/07 17:53:39 david Removed unused @join_sql reference (closes #9174) [danger]
(edit) @7519 [7519] 09/20/07 23:22:30 david Added ActiveRecord::Base#to_json/from_json (currently does not support …
(edit) @7511 [7511] 09/18/07 10:26:56 nzkoz Stop users from calling .create on a has_many / habtm association when the …
(edit) @7477 [7477] 09/14/07 07:29:22 bitsweat Fix association writer with :dependent => :nullify. Closes #7314.
(edit) @7368 [7368] 08/28/07 23:18:57 nzkoz Formatting, grammar and spelling fixes for the associations documentation. …
(edit) @7326 [7326] 08/16/07 04:37:31 nzkoz Don't clobber :includes passed to count on has_many association. Closes …
(edit) @7325 [7325] 08/16/07 04:36:55 nzkoz Make sure has_many associations honour :include when counting. Closes …
(edit) @7279 [7279] 08/07/07 09:53:33 nzkoz Make habtm respect the :select option. Closes #9207. [Aleksey Kondratenko]
(edit) @7237 [7237] 07/25/07 03:09:21 rick Ensure that has_many :through associations use a count query instead of …
(edit) @7220 [7220] 07/24/07 16:48:57 david Refactored in use of extract_options! (closes #9079) [josh]
(edit) @7199 [7199] 07/20/07 00:10:06 rick Fix #count on a has_many :through association so that it recognizes the …
(edit) @7189 [7189] 07/16/07 20:26:10 rick Remove deprecated count(conditions=nil, joins=nil) usage. Closes #8993
(edit) @7182 [7182] 07/11/07 23:54:43 nzkoz Make create! on a has_many :through association return the association …
(edit) @7167 [7167] 07/07/07 02:42:42 nzkoz Move from select * to select tablename.* to avoid clobbering IDs. Closes …
(edit) @6998 [6998] 06/11/07 07:45:56 bitsweat Remove deprecated find_first and find_all.
(edit) @6997 [6997] 06/11/07 07:15:59 bitsweat Remove deprecated push_with_attributes.
(edit) @6909 [6909] 05/30/07 21:40:55 bitsweat with_scope is protected. Closes #8524.
(edit) @6761 [6761] 05/18/07 02:11:43 bitsweat Sanitize Base#inspect. Closes #8392.
(edit) @6581 [6581] 04/26/07 00:18:38 nzkoz Improve Performance of calling create on has_many :through associations by …
(edit) @6408 [6408] 03/13/07 05:23:18 rick Allow a polymorphic :source for has_many :through associations. Closes …
(edit) @6336 [6336] 03/05/07 11:34:39 bitsweat Fix has_many :through << with custom foreign keys. Closes #6466, #7153.
(edit) @5923 [5923] 01/14/07 12:08:44 bitsweat Aggregate reflection klass works with nested :class_name
(edit) @5883 [5883] 01/11/07 18:19:23 minam dry up some duplicated code
(edit) @5882 [5882] 01/11/07 18:10:42 minam treat create! like create and make sure the target is loaded first
(edit) @5881 [5881] 01/11/07 18:04:47 minam fix regression in has_one#create, that caused instances thus created to be …
(edit) @5769 [5769] 12/21/06 23:28:12 bitsweat Pushing a record on an association collection doesn't unnecessarily load …
(edit) @5705 [5705] 12/08/06 21:41:15 xal Remove side effects of [5684]
(edit) @5684 [5684] 12/06/06 00:13:31 xal Consolidated different create and create! versions to call through to the …
(edit) @5681 [5681] 12/05/06 21:49:36 bitsweat AssociationCollection#any? takes a block [Michael Schoen]
(edit) @5677 [5677] 12/05/06 17:55:44 xal Add AssociationCollection#create! to be consistent with …
(edit) @5676 [5676] 12/05/06 03:26:56 david Added counter optimization for AssociationCollection#any? so …
(edit) @5564 [5564] 11/19/06 11:16:12 bitsweat Simplify association proxy implementation by factoring construct_scope out …
(edit) @5478 [5478] 11/10/06 02:00:14 bitsweat Don't inspect unloaded associations. Closes #2905.
(edit) @5359 [5359] 10/24/06 17:25:30 minam update deprecations to include alternative methods (where available)
(edit) @5310 [5310] 10/16/06 15:42:55 rick Fix has_many :through to add the appropriate conditions when going through …
(edit) @5267 [5267] 10/09/06 03:21:52 rick Add #delete support to has_many :through associations. Closes #6049
(edit) @5264 [5264] 10/09/06 02:46:57 rick Removes the ability for eager loaded conditions to be interpolated, since …
(edit) @5230 [5230] 10/08/06 06:45:32 bitsweat The has_many create method works with polymorphic associations. Closes …
(edit) @5192 [5192] 09/26/06 17:02:45 bitsweat Deprecation: count class method should be called with an options hash …
(edit) @5188 [5188] 09/26/06 06:56:17 bitsweat has_one associations with a nil target may be safely marshaled. Closes …
(edit) @5116 [5116] 09/15/06 07:02:05 bitsweat Deprecation tests. Remove warnings for dynamic finders and for the …
(edit) @5018 [5018] 09/05/06 18:54:24 david Backed out of new_record? to new? transformation as it would screw up …
(edit) @5017 [5017] 09/05/06 18:48:10 david Deprecated ActiveRecord::Base.new_record? in favor of …
(edit) @5007 [5007] 09/04/06 23:41:13 nzkoz Rename quote to quote_value so the name can be used in AR models. #3628
(edit) @4893 [4893] 09/01/06 05:31:56 bitsweat has_many :through conditions are sanitized by the associating class. …
(edit) @4792 [4792] 08/20/06 05:23:34 bitsweat Pushing a record onto a has_many :through sets the association's foreign …
(edit) @4791 [4791] 08/19/06 14:56:58 bitsweat unbraindeadify addition to has_many :through
(edit) @4790 [4790] 08/19/06 09:13:00 bitsweat Pushing a record onto a has_many :through sets the association's foreign …
(edit) @4786 [4786] 08/18/06 07:35:07 bitsweat Add records to has_many :through using <<, push, and concat by creating …
(edit) @4773 [4773] 08/16/06 16:05:48 xal Fixed a bug which would cause .save to fail after trying to access a empty …
(edit) @4721 [4721] 08/08/06 16:59:06 rick Cache nil results for has_one associations so multiple calls don't call …
(edit) @4680 [4680] 08/05/06 22:35:58 nzkoz Formally deprecate rich associations. [Koz]
(edit) @4640 [4640] 07/31/06 21:06:19 rick Calculate sum with SQL, not Enumerable on HasManyThrough Associations. …
(edit) @4618 [4618] 07/24/06 04:55:16 rick Allow #count through a has_many association to accept :include. [Dan …
(edit) @4615 [4615] 07/20/06 00:34:09 rick fix association exception messages, fix them so the error messages …
Note: See TracRevisionLog for help on using the revision log.