aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Prevented belongs_to: touch propagating up if there are no changes being savedBrock Trappitt2014-05-211-1/+1
* | Fixed the inferred table name for HABTM within a schemaEric Chahin2014-05-201-1/+1
* | Remove the assignment for real this time.Zachary Scott2014-05-161-2/+2
* | prepend mutates the string so we can remove the assignmentRafael Mendonça França2014-05-161-1/+1
* | Don't use Active Support where it is not needed.Rafael Mendonça França2014-05-141-1/+3
* | Fix how to compute class name on habtm namespaced.Kassio Borges2014-05-131-1/+5
* | Fix custom join_table name on habtm reflectionsKassio Borges2014-04-251-1/+1
* | Hide BelongsToAssociation#increment_counters and #decrement_countersJean Boussier2014-04-151-1/+0
* | Use inheritance chain instead of callbacks to increment counter caches after ...Jean Boussier2014-04-141-16/+0
* | Use inheritance chain instead of callbacks to increment counter caches after ...Jean Boussier2014-04-141-12/+1
* | Make counter cache decrementation on destroy idempotentJean Boussier2014-04-131-4/+5
* | Associations now raise `ArgumentError` on name conflicts.Lauro Caetano2014-01-311-0/+6
* | On destroying do not touch destroyed belongs to association.Paul Nikitochkin2013-12-231-1/+1
* | make sure cached table name is a string. fixes #12582Aaron Patterson2013-12-121-1/+1
* | Move the parameter normalization to the initialize methodRafael Mendonça França2013-12-111-4/+5
* | Revert the whole refactoring in the association builder classes.Rafael Mendonça França2013-12-117-46/+62
* | Bring back the valid_options class accessorRafael Mendonça França2013-12-116-9/+14
* | polymorphic belongs_to association with touch: true updates old record correctlySeverin Schoepke2013-12-051-1/+7
* | Raise `ArgumentError` when `has_one` is used with `counter_cache`Godfrey Chan2013-11-292-2/+2
* | Merge pull request #12390 from kennyj/rename_to_association_methodsRafael Mendonça França2013-11-052-2/+2
|\ \
| * | Renamed generated_feature_methods to generated_association_methods.kennyj2013-09-282-2/+2
| |/
* | Method visibility will not make difference hereRafael Mendonça França2013-10-094-8/+0
* | Remove builder instancesRafael Mendonça França2013-10-092-22/+10