aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
Commit message (Expand)AuthorAgeFilesLines
* Remove passing argument to singular and collection association readersRyuta Kamizono2018-01-051-2/+2
* Fix conflicts `counter_cache` with `touch: true` by optimistic locking.bogdanvlviv2017-12-121-3/+7
* Merge pull request #31005 from shuheiktgw/remove_unnecessary_semicolonsMatthew Draper2017-10-281-1/+1
* [Active Record] require => require_relativeAkira Matsuda2017-10-211-1/+1
* Remove the code that swapping `scope` and `options`Ryuta Kamizono2017-09-181-5/+0
* Merge pull request #29765 from lugray/fix_counter_cacheRafael França2017-07-241-3/+1
|\
| * Add test for fixed `counter_cache` double incrementLisa Ugray2017-07-191-3/+1
* | Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-197-0/+14
|/
* [Active Record] require => require_relativeAkira Matsuda2017-07-011-1/+1
* Delete stale comment for `AR::Associations::Builder::CollectionAssociation`fatkodima2017-07-011-2/+0
* Evaluate the default block only when necessaryRyuta Kamizono2017-03-201-1/+1
* Add :default option to belongs_to (#28453)George Claghorn2017-03-171-1/+8
* Fix Rubocop violations and fix documentation visibilityRafael Mendonça França2016-12-281-3/+3
* Introduce `reload_<association>` reader for singular associations.Yves Senn2016-11-221-1/+10
* Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-14/+16
* Fix HABTM associations join table resolver bug on constants and symbolsMehmet Emin İNAÇ2016-10-271-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-22/+22
* applies new string literal convention in activerecord/libXavier Noria2016-08-062-2/+2
* Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-2/+4
* Fix counter_cache double increment bugTom Kadwill2016-04-281-0/+2
* don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-1/+5
* eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-191-0/+3
* Define `:foreign_type` as a valid option in `SingularAssociation`yui-knk2016-01-193-3/+3
* Make sure we touch all the parents when touch_later.Arthur Neves2015-12-061-2/+1
* Update belongs_to.rbEhsan Yousefi2015-11-081-2/+1
* Ensure `has_and_belongs_to_many` works with `belongs_to_required_by_default`Sean Griffin2015-10-291-2/+2
* Merge pull request #19686 from tsun1215/index_errorsSean Griffin2015-10-261-1/+1
|\
| * Errors can be indexed with nested attributesMichael Probber2015-04-171-1/+1
* | docs, add missing `:nodoc: for `Associations::Builder`. [ci skip]Yves Senn2015-10-137-9/+9
* | use correct DB connection for generated HABTM tableMatt Hanlon2015-08-071-3/+7
* | Fix counter_cache for polymorphic associationsStefan Kanev2015-07-191-4/+12
* | Rename association option :class to :anonymous_classAndrew White2015-04-212-2/+2
|/
* Batch touch parent recordsArthur Neves2015-04-081-6/+7
* Freeze static arguments for gsubbrainopia2015-04-021-1/+1
* Prefer string patterns for gsubbrainopia2015-04-021-1/+1
* Require `belongs_to` by default.Josef Šimánek2015-02-213-8/+26
* Provide a better error message on :required associationHenrik Nygren2015-01-281-1/+1
* Remove support to activerecord-deprecated_findersRafael Mendonça França2015-01-027-67/+45
* Add foreign_type option for polymorphic has_one and has_many.Ulisses Almeida + Kassio Borges2014-12-082-2/+2
* Allow habtm class_name option to be consistent with other associationsshiksha2014-11-131-1/+1
* Ensure HABTM relationships produce valid class names (Fixes #17119)Sammy Larbi2014-11-091-1/+1
* Change `gsub` to `tr` where possibleAlexander Balashov2014-10-061-1/+1
* Remove unused 1:1 association :remote optionChris Griego2014-07-161-1/+1
* Add a `required` option to singular associationsSean Griffin2014-07-042-1/+13
* Merge pull request #12450 from iantropov/masterRafael Mendonça França2014-06-273-5/+16
|\
| * Fix bug, when ':dependent => :destroy' option violates foreign key constraint...Ivan Antropov2013-10-263-9/+18
* | Fix has_and_belongs_to_many in a namespaced model pointing to a non namespace...Rafael Mendonça França2014-06-191-8/+5
* | Remove a long gone :order option from has_one's valid_options.thedarkone2014-06-091-1/+1
* | Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-2/+2