aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "Merge pull request #8989 from robertomiranda/use-rails-4-find-by"Guillermo Iguaran2013-01-181-1/+1
* User Rails 4 find_byrobertomiranda2013-01-181-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-01-091-8/+8
|\
| * prefer american spelling of 'behavior'Gosha Arinich2013-01-071-1/+1
| * remove meaningless use of Relation#allAkira Matsuda2013-01-031-2/+2
| * wrong model nameAkira Matsuda2013-01-021-1/+1
| * find + conditions is deprecated in AR 4Akira Matsuda2013-01-021-3/+3
| * find_or_create_by is deprecated in AR 4Akira Matsuda2013-01-021-2/+2
* | These are already required through AS/railsAkira Matsuda2013-01-071-2/+0
|/
* Deprecate Relation#sum with a block.Carlos Antonio da Silva2012-11-211-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-11-171-53/+53
|\
| * 1.9 hash syntax changesAvnerCohen2012-11-081-53/+53
* | Merge pull request #8116 from senny/7993_configure_counter_cache_for_has_manyJon Leighton2012-11-091-0/+3
|\ \
| * | :counter_cache option for to support custom named counter caches. Closes #7993Yves Senn2012-11-041-0/+3
| |/
* / adding requires for constant dependenciesAaron Patterson2012-11-071-0/+3
|/
* Add CollectionAssociation#destroy to ActiveRecord::Association::ClassMethods ...Samuel Cochran2012-10-051-3/+15
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-09-211-1/+9
|\
| * Add extra note about :dependent => :destroy.Steve Klabnik2012-09-211-1/+4
| * Doc typo: depenent -> dependent; trailing ws.Henrik N2012-09-161-2/+2
| * Improve documentation about :dependent and callbacks.Steve Klabnik2012-09-151-0/+5
* | Improve exception message for HasManyThroughAssociationPolymorphicSourceErrorSebastian Korfmann2012-09-101-1/+1
|/
* Update the documentation for the :autosave optionDavid Celis2012-08-231-1/+3
* fixup guides in light of :dependent changesJon Leighton2012-08-101-7/+7
* Remove the dependent_restrict_raises option.Jon Leighton2012-08-101-11/+16
* Update the docs to reflect the new association APIJon Leighton2012-08-031-190/+80
* load active_support/core_ext/module/delegation in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/class/attribute in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/object/blank in active_support/railsXavier Noria2012-08-021-1/+0
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-011-0/+31
* Explaining a bit better about the default behaviour of dependentRodrigo Flores2012-07-281-1/+2
* Missed extend for eager_autoloadDmitry Vorotilin2012-07-261-0/+1
* Merge pull request #7161 from michaelfairley/eager_load_active_record_associa...Jon Leighton2012-07-261-5/+7
|\
| * Eager autoload ActiveRecord association helpersMichael Fairley2012-07-251-5/+7
* | Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-201-31/+0
* | Avoid options ever being nilJon Leighton2012-07-201-4/+4
* | Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-8/+8
* | Mention effect of accepts_nested_attributes_for on association autosave optio...Chris Gunther2012-06-271-0/+8
* | Update AR has_one association exampleAlexey Vakhov2012-05-161-1/+1
* | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-05-041-8/+8
|\ \
| * | simpler wording and explanationsHrvoje Šimić2012-05-011-8/+8
* | | Change the example for habtm association to use proc according to changelogAlexander Zubkov2012-03-291-1/+1
|/ /
* | added clarification stating the counter_cache attribute needs to be created o...Michael de Silva2012-03-111-1/+3
* | Fix doc examples for has_and_belongs_to_many associationBraden Schaeffer2012-03-051-2/+2
|/
* suggested fixes for :dependent => :restrict deprecation.Manoj2012-01-311-2/+4
* has_many/has_one, :dependent => :restrict, deprecation added.Manoj2012-01-291-4/+2
* removed unnecessary require for activesupport/core_ext/array/wrapKarunakar (Ruby)2012-01-071-1/+0
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2011-12-141-1/+1
|\
| * changed :finder_sql example to select * clst2011-12-121-1/+1
| * fixed example for :finder_sql clst2011-12-121-1/+1
* | fix nodocsVijay Dev2011-12-091-1/+1
|/