aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Simplify Preloader#grouped_records code.thedarkone2014-03-301-1/+7
* Obey `validate: false` option for habtmCarlos Antonio da Silva2014-03-141-1/+1
* Replace map.flatten with flat_map in activerecordErik Michaels-Ober2014-03-031-2/+2
* Merge pull request #14211 from loganhasson/masterXavier Noria2014-02-261-12/+12
|\
| * [ci skip] Move association class method notesLogan Hasson2014-02-261-12/+12
* | JoinHelper is never reused, so there is no need to separateAaron Patterson2014-02-131-1/+0
* | some wording format changes. [ci skip]Yves Senn2014-02-031-1/+1
* | pass `habtm :autosave` to underlying `hm:t` association. Closes #13923.Yves Senn2014-02-031-1/+1
* | docs, revisit polymorphic associations with STI example. [ci skip]Yves Senn2014-02-031-2/+5
* | Fixes the camelCase variable name in the docs [ci skip]Fred Wu2014-02-031-2/+2
* | Add docs about behaviour of replacing a has_one associate object, that the pr...Vipul A M2014-01-281-1/+2
|/
* Change all "can not"s to the correct "cannot".T.J. Schuck2014-01-031-2/+2
* remove HABTM associationsAaron Patterson2013-10-021-7/+0
* repurpose the HABTM builder classAaron Patterson2013-10-021-5/+2
* goodbye has_and_belongs_to_many1, we will miss you!Aaron Patterson2013-10-021-4/+0
* keep track of the left and right reflections and expose thoseAaron Patterson2013-10-021-1/+1
* have the builder create the middle reflectionAaron Patterson2013-10-021-11/+2
* call the class method to define the callbacksAaron Patterson2013-10-021-1/+1
* move habtm translation to a builder classAaron Patterson2013-10-021-89/+7
* get the left and right association names from the join modelAaron Patterson2013-10-021-8/+17
* define the join model without using closures on the methodsAaron Patterson2013-10-021-18/+31
* decouple the HABTM builderAaron Patterson2013-10-011-2/+31
* only pass options to the habtm builderAaron Patterson2013-10-011-1/+1
* Squashed commit of the following:Aaron Patterson2013-10-011-2/+80
* use consistent keys between cache get / setAaron Patterson2013-08-271-1/+1
* factory methods should not have side effects.Aaron Patterson2013-07-231-4/+8
* Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-081-5/+6
* Some editorial changes on the documentation.Rafael Mendonça França2013-05-121-23/+23
* Adding documentation to the automatic inverse_of finder.wangjohn2013-05-111-0/+21
* Document collection.create! on has_many associations in ActiveRecordMario Visic2013-04-151-0/+4
* Prefer find_by over dynamic finders in rdocSam Ruby2013-04-021-1/+1
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2013-03-301-4/+4
|\
| * Minor copy editingNeeraj Singh2013-03-111-4/+4
* | Fix some typos in AR- CHANGELOG, tests, method doc. fixedVipul A M2013-03-201-1/+1
* | rename `Relation#uniq` to `Relation#distinct`. `#uniq` still works.Yves Senn2013-03-151-0/+1
* | document habtm join-table name with custom prefix [ci skip].Yves Senn2013-03-101-0/+2
* | Merge pull request #9630 from robertjwhitney/update_collection_docsCarlos Antonio da Silva2013-03-091-2/+2
|\ \ | |/ |/|
| * Update documentation for collection<< to reflect << on new records.Robert Whitney2013-03-091-2/+2
* | TypppoAkira Matsuda2013-03-061-1/+1
|/
* Fix typoCarson McDonald2013-03-051-1/+1
* Updated doc to clarify about update_all and delete_allNeeraj Singh2013-02-241-2/+2
* Fix typoTatsuro Baba2013-01-221-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