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

root/trunk/activerecord/lib/active_record/associations.rb


Mode:

Legend:

Added
Modified
Copied or renamed
Rev Chgset Date Author Log Message
(edit) @9247 [9247] 04/10/08 13:48:43 pratik Ensure that save on child object fails for invalid belongs_to association. …
(edit) @9232 [9232] 04/06/08 02:32:51 pratik Ensure that save on parent object fails for invalid has_one association. …
(edit) @9230 [9230] 04/06/08 00:27:12 pratik Refactor HasManyThroughAssociation to inherit from HasManyAssociation. …
(edit) @9226 [9226] 04/05/08 03:52:58 pratik Improve documentation.
(edit) @9095 [9095] 03/26/08 15:36:17 rick Fix duplicate table alias error when including an association with a …
(edit) @9084 [9084] 03/24/08 02:50:02 rick Merge the has_finder gem, renamed as 'named_scope'. Closes #11404
(edit) @9075 [9075] 03/22/08 02:20:37 bitsweat has_one :through supports :source_type. Fix up some tests. References …
(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) @9064 [9064] 03/20/08 02:15:29 david Docfixes (closes #11356, #11172, #10523)
(edit) @8977 [8977] 03/03/08 06:23:38 nzkoz Improve performance on :include/:conditions/:limit queries by selectively …
(edit) @8942 [8942] 02/28/08 20:42:01 bitsweat Fix that batched :include would pull in duplicate records in some cases. …
(edit) @8867 [8867] 02/14/08 07:53:37 rick Improve associations performance by using symbol callbacks instead of …
(edit) @8864 [8864] 02/13/08 06:32:50 bitsweat Introduce the :readonly option to all associations. Records from the …
(edit) @8856 [8856] 02/11/08 02:50:58 nzkoz Fix eager loading with pre-quoted table names. Closes #11046
(edit) @8790 [8790] 02/03/08 01:09:58 bitsweat Revert r8742: remove has_many with :group option since it has sketchy sql …
(edit) @8742 [8742] 01/27/08 02:41:55 nzkoz Make sure count works on has_many :through associations using :group. …
(edit) @8707 [8707] 01/23/08 17:06:40 marcel Indicate in documentation that newer version of AR support eager loading …
(edit) @8675 [8675] 01/19/08 05:30:42 bitsweat belongs_to supports :dependent => :destroy and :delete. Closes #10592.
(edit) @8672 [8672] 01/19/08 04:19:53 bitsweat Introduce preload query strategy for eager :includes. Closes #9640.
(edit) @8562 [8562] 01/05/08 02:21:25 bitsweat Document that .build doesn't apply to has_many :through associations. …
(edit) @8556 [8556] 01/04/08 23:21:52 bitsweat Document that eager loading doesn't work with polymorphic associations. …
(edit) @8504 [8504] 12/28/07 18:01:22 rick Don't unnecessarily load has_many associations in after_update callbacks. …
(edit) @8481 [8481] 12/22/07 11:26:03 bitsweat Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized …
(edit) @8456 [8456] 12/21/07 01:49:01 bitsweat Eager belongs_to :include infers the foreign key from the association name …
(edit) @8305 [8305] 12/05/07 20:24:41 marcel Fix typo in documentation for polymorphic associations w/STI. Closes #7461
(edit) @8301 [8301] 12/05/07 18:54:41 david Fix typos (closes #10378)
(edit) @8270 [8270] 12/05/07 02:30:30 david Fix that options[:from] table names should never be quoted [DHH]
(edit) @8126 [8126] 11/10/07 21:33:13 nzkoz Ensure that column names are quoted. Closes #10134 [wesley.moxam]
(edit) @8119 [8119] 11/09/07 19:14:28 david Removed unused code (closes #9906)
(edit) @8113 [8113] 11/08/07 03:37:16 marcel Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]
(edit) @8109 [8109] 11/07/07 15:07:39 david Address shortcomings of changeset [8054] [protocool]
(edit) @8102 [8102] 11/06/07 23:20:22 marcel Update association/method mapping table to refected latest collection …
(edit) @8054 [8054] 10/29/07 21:39:52 bitsweat Introduce finder :joins with associations. Same :include syntax but with …
(edit) @8051 [8051] 10/29/07 03:02:42 bitsweat Associations: speedup duplicate record check. Closes #10011.
(edit) @8046 [8046] 10/27/07 20:31:09 bitsweat Allow association redefinition in subclasses. Closes #9346.
(edit) @8043 [8043] 10/27/07 18:51:32 bitsweat Fix has_many :through delete with custom foreign keys. Closes #6466.
(edit) @8006 [8006] 10/23/07 18:34:01 marcel Limited eager loading no longer ignores scoped :order. Closes #9561
(edit) @7942 [7942] 10/16/07 07:24:23 bitsweat Fix regression where the association would not construct new finder SQL on …
(edit) @7873 [7873] 10/14/07 05:32:57 rick Add notes to documentation regarding attr_readonly behavior with counter …
(edit) @7824 [7824] 10/10/07 06:45:13 nzkoz Ensure that 'autosaving' works when associations aren't loaded [Bryan …
(edit) @7813 [7813] 10/09/07 00:32:36 bitsweat Update :dependent docs and improve its argument error message.
(edit) @7812 [7812] 10/08/07 23:39:28 bitsweat belongs_to infers the foreign key from the association name instead of …
(edit) @7748 [7748] 10/05/07 19:27:33 rick Don't call attr_readonly on polymorphic belongs_to associations, in case …
(edit) @7693 [7693] 09/30/07 07:09:44 rick Add attr_readonly to specify columns that are skipped during a normal …
(edit) @7666 [7666] 09/28/07 14:18:47 david Fixed spelling errors (closes #9706) [tarmo/rmm5t]
(edit) @7588 [7588] 09/22/07 23:51:03 bitsweat Correctly quote id list for limited eager loading. Closes #7482.
(edit) @7504 [7504] 09/17/07 21:19:44 bitsweat Associations macros accept extension blocks alongside modules. Closes …
(edit) @7494 [7494] 09/15/07 23:50:12 bitsweat Eager loading respects explicit :joins. Closes #9496.
(edit) @7402 [7402] 09/03/07 00:17:09 nzkoz Remove deprecated functionality from edge rails. Closes #9387 [lifofifo]
(edit) @7368 [7368] 08/28/07 23:18:57 nzkoz Formatting, grammar and spelling fixes for the associations documentation. …
(edit) @7355 [7355] 08/21/07 21:58:38 david Fixed that eager loading queries and with_scope should respect the :group …
(edit) @7354 [7354] 08/21/07 21:29:21 david Fixed that eager loading queries should respect the :group option as well …
(edit) @7236 [7236] 07/25/07 03:05:55 rick tiny doc patches [lifo]
(edit) @7188 [7188] 07/16/07 20:21:36 rick Change belongs_to so that the foreign_key assumption is taken from the …
(edit) @7137 [7137] 06/27/07 08:19:12 bitsweat Define collection singular ids method for has_many :through associations. …
(edit) @7119 [7119] 06/25/07 22:42:19 bitsweat Fix polymorphic has_one associations declared in an abstract class. Closes …
(edit) @7075 [7075] 06/21/07 20:47:26 bitsweat Save associated records only if the association is already loaded. Closes …
(edit) @6998 [6998] 06/11/07 07:45:56 bitsweat Remove deprecated find_first and find_all.
(edit) @6905 [6905] 05/30/07 07:05:14 bitsweat Quickref for association methods. Closes #7723.
(edit) @6827 [6827] 05/24/07 20:39:51 rick Ensure that associations with :dependent => :delete_all respect …
(edit) @6817 [6817] 05/23/07 06:35:08 bitsweat Fix :through docs wrecked up by [6777]. Closes #4961.
(edit) @6804 [6804] 05/22/07 03:39:36 bitsweat belongs_to assignment creates a new proxy rather than modifying its target …
(edit) @6790 [6790] 05/19/07 22:36:36 bitsweat Document deep eager includes. Closes #6267.
(edit) @6777 [6777] 05/18/07 21:51:21 bitsweat belongs_to doesn't go :through. Closes #4961.
(edit) @6770 [6770] 05/18/07 19:18:01 bitsweat Docs: warn that associations names shouldn't be reserved words. Closes …
(edit) @6686 [6686] 05/06/07 05:14:37 marcel Update documentation for :dependent declaration so that it explicitly uses …
(edit) @6470 [6470] 03/27/07 14:04:06 rick documentation project patches, closes #7342, #7319, #7316, #7190
(edit) @6442 [6442] 03/18/07 03:32:48 bitsweat Fix method visibility bug uncovered by #7854.
(edit) @6411 [6411] 03/13/07 05:38:01 rick trim the fat
(edit) @6408 [6408] 03/13/07 05:23:18 rick Allow a polymorphic :source for has_many :through associations. Closes …
(edit) @6044 [6044] 01/26/07 21:37:38 david Nodoc the irrelevant (from 1.2)
(edit) @6018 [6018] 01/23/07 05:10:21 rick Remove useless code in #attribute_present? since 0 != blank?. Closes …
(edit) @6017 [6017] 01/23/07 05:07:35 rick Fix incorrect usage of #classify when creating the eager loading join …
(edit) @5960 [5960] 01/16/07 06:30:02 rick [DOC] clear up some ambiguity with the way has_and_belongs_to_many creates …
(edit) @5939 [5939] 01/15/07 06:43:47 nzkoz Improve association documentation, closes #7022. [hasmanyjosh]
(edit) @5887 [5887] 01/12/07 05:14:55 bitsweat PostgreSQL: use a subselect to correctly perform eager finds with :limit …
(edit) @5751 [5751] 12/19/06 19:23:56 bitsweat Subclass instantiation doesn't try to explicitly require the corresponding …
(edit) @5744 [5744] 12/19/06 03:10:39 rick fix faulty inheritance tests and that eager loading grabs the wrong …
(edit) @5682 [5682] 12/05/06 22:07:55 bitsweat find supports :lock with :include. Check whether your database allows …
(edit) @5480 [5480] 11/10/06 19:18:07 bitsweat Oracle: fix limited id selection for eager loading. Closes #6515.
(edit) @5474 [5474] 11/09/06 19:31:31 bitsweat Cache inheritance_column. Closes #6592.
(edit) @5445 [5445] 11/07/06 00:18:07 bitsweat Find with :include respects scoped :order. Closes #5850.
(edit) @5401 [5401] 11/02/06 09:45:17 bitsweat has_one :dependent => :nullify ignores nil associates. Closes #6528.
(edit) @5310 [5310] 10/16/06 15:42:55 rick Fix has_many :through to add the appropriate conditions when going through …
(edit) @5292 [5292] 10/13/06 08:52:33 rick automatically add primary key to #select_limited_ids_list order by clause …
(edit) @5291 [5291] 10/13/06 08:29:00 rick fix select_limited_ids_list issues in postgresql, retain current behavior …
(edit) @5284 [5284] 10/11/06 14:02:24 rick Restore eager condition interpolation, document it's differences [Rick]
(edit) @5265 [5265] 10/09/06 03:12:32 rick Reverted old select_limited_ids_list postgresql fix that caused issues in …
(edit) @5264 [5264] 10/09/06 02:46:57 rick Removes the ability for eager loaded conditions to be interpolated, since …
(edit) @5259 [5259] 10/09/06 02:05:50 david Docfix (closes #6040)
(edit) @5254 [5254] 10/09/06 01:32:11 david Doc fixes (closes #6325)
(edit) @5214 [5214] 10/01/06 19:15:51 bitsweat Association collections have an _ids reader method to match the existing …
(edit) @5116 [5116] 09/15/06 07:02:05 bitsweat Deprecation tests. Remove warnings for dynamic finders and for the …
(edit) @5075 [5075] 09/08/06 22:01:00 david We cant make MySQL 5 happy if it means making SQLite and PostgreSQL cry. …
(edit) @5073 [5073] 09/08/06 18:14:02 david Added parentheses around FROM clauses generated by Base and associations …
(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) @4992 [4992] 09/04/06 18:55:30 rick Add deprecation warning for inferred foreign key. #6029 [Josh Susser]
Note: See TracRevisionLog for help on using the revision log.