aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations.rb
Commit message (Expand)AuthorAgeFilesLines
* Add a `required` option to singular associationsSean Griffin2014-07-041-0/+10
* Use HasAndBelongsToMany instead of HABTMArthur Neves2014-06-091-1/+1
* Abstract away use of HABTM macroeileencodes2014-06-091-1/+1
* Refactoring .reflections public method.Arthur Neves2014-05-261-3/+4
* Use .to_s on _reflections lookupArthur Neves2014-05-241-1/+1
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-2/+5
* Added force_reload to Auto-generated methods docdanielmbarlow2014-05-231-2/+3
* docs, fix typo in docs added by ed56e596a04673. [ci skip]Yves Senn2014-05-101-2/+2
* deprecate, join, preload, eager load of instance dependent associations.Yves Senn2014-05-101-0/+4
* set a constant for the "anonymous" habtm model fixes #15022Aaron Patterson2014-05-081-0/+5
* docs, restructure newly added part to `includes`. [ci skip]Yves Senn2014-05-031-6/+5
* cleanup, remove trailing whitespace. [ci skip]Yves Senn2014-04-291-1/+1
* Merge pull request #14139 from anilmaurya/masterYves Senn2014-04-281-0/+6
|\
| * [ci skip] updating active_record/associations to demonstrate where conflict w...anilmaurya2014-04-291-0/+6
* | Fix custom join_table name on habtm reflectionsKassio Borges2014-04-251-1/+1
* | 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