aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/associations/builder
Commit message (Expand)AuthorAgeFilesLines
* push the touch method outside the evalAaron Patterson2013-06-111-13/+34
* remove unused variableAaron Patterson2013-06-111-1/+0
* check whether the association is constructible rather than checking constantsAaron Patterson2013-06-111-3/+3
* use attribute methods for finding key values rather than generating method namesAaron Patterson2013-06-111-3/+3
* push belongs_to counter cache method to a single methodAaron Patterson2013-06-111-17/+18
* push before_destroy counter cache method to a single methodAaron Patterson2013-06-111-12/+17
* remove evaled belongs_to counter cache methodAaron Patterson2013-06-111-8/+22
* adding callbacks should be privateAaron Patterson2013-06-111-4/+6
* remove evals from the associationAaron Patterson2013-06-111-8/+2
* reduce evals in depdendent associationsAaron Patterson2013-06-111-1/+2
* Getting rid of the +automatic_inverse_of: false+ option in associations in favorwangjohn2013-06-082-2/+2
* copy edits[ci skip]Vijay Dev2013-05-191-11/+8
* Added some more documentation for define_readers and define_writer of the Ass...aditya-kapoor2013-05-153-0/+15
* Added some more documentation for ActiveRecord::Associations::Builder::Associ...aditya-kapoor2013-05-151-0/+11
* Added documentation for ActiveRecord::Associations::Builder::Association classaditya-kapoor2013-05-151-0/+4
* Created a method to automatically find inverse associations and cachewangjohn2013-05-072-2/+2
* Confirm a record has not already been destroyed before decrementingBen Tucker2013-05-061-1/+3
* Lookup the class at runtime, not when the association is builtAndrew White2013-04-241-2/+2
* Revert "Revert "`belongs_to :touch` behavior now touches old association when...Andrew White2013-04-241-1/+12
* Revert "`belongs_to :touch` behavior now touches old association when transit...David Heinemeier Hansson2013-04-231-12/+1
* Update counter cache when pushing into associationMatthew Robertson2013-04-211-3/+4
* Avoid an attempt to fetch old record when id was not present in touch callbackCarlos Antonio da Silva2013-04-041-7/+7
* Use the correct pk field from the reflected class to find the old recordCarlos Antonio da Silva2013-04-041-1/+2
* Use inspect when writing the foreign key from the reflectionAndrew White2013-04-051-2/+2
* Merge pull request #9141 from adamgamble/issue-9091David Heinemeier Hansson2013-04-031-0/+10
|\
| * Modifies belong_to touch callback to touch old associations also #9091Adam Gamble2013-03-141-0/+10
* | Update other counter caches on destroyIan Young2013-03-201-1/+1
* | If a counter_cache is defined, then using update_attributes and changingJohn Wang2013-03-151-0/+20
|/
* Fix touching an invalid parent record for belongs_toOlek Janiszewski2013-02-261-1/+1
* Undeprecate the :extend optionJon Leighton2013-01-181-1/+2
* Ensure that associations have a symbol argument.Steve Klabnik2012-11-281-0/+2
* Merge pull request #8116 from senny/7993_configure_counter_cache_for_has_manyJon Leighton2012-11-091-1/+1
|\
| * :counter_cache option for to support custom named counter caches. Closes #7993Yves Senn2012-11-041-1/+1
* | adding requires for constant dependenciesAaron Patterson2012-11-071-0/+3
|/
* Use method compilation for association methodsJon Leighton2012-08-105-64/+62
* DRY up handling of dependent optionJon Leighton2012-08-105-63/+22
* Unprivatise all the thingsJon Leighton2012-08-107-170/+156
* move dependency logic out of generated methodsJon Leighton2012-08-104-65/+19
* Clean up dependent option validation.Jon Leighton2012-08-104-14/+7
* Remove the dependent_restrict_raises option.Jon Leighton2012-08-103-23/+22
* load active_support/deprecation in active_support/railsXavier Noria2012-08-021-1/+0
* load active_support/core_ext/object/inclusion in active_support/railsXavier Noria2012-08-023-3/+0
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-08-012-0/+21
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-012-2/+2
* Refactor dependency check validationCarlos Antonio da Silva2012-08-014-28/+19
* move method for dependent option checkHrvoje Šimić2012-08-014-11/+22
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-202-2/+2
* Avoid options ever being nilJon Leighton2012-07-201-4/+4
* fix association :extend optionJon Leighton2012-07-132-6/+17
* move the deprecated options into active_record_deprecated_findersJon Leighton2012-07-132-5/+2