| Commit message (Expand) | Author | Age | Files | Lines |
* | Improve consistency of counter caches updating in memory | Sean Griffin | 2015-01-26 | 1 | -5/+15 |
* | Deprecate `false` as the way to halt AR callbacks | claudiob | 2015-01-02 | 1 | -1/+1 |
* | Share foreign_key_present? implementation in _has_ associations | brainopia | 2014-12-31 | 1 | -8/+1 |
* | Improve the performance of reading attributes | Sean Griffin | 2014-11-18 | 1 | -1/+1 |
* | Don't expose these new APIs yet (added in 877ea78 / #16189) | Godfrey Chan | 2014-08-16 | 1 | -1/+1 |
* | Implement `_was` and `changes` for in-place mutations of AR attributes | Sean Griffin | 2014-08-16 | 1 | -1/+1 |
* | Redefine macro checks for reflections | eileencodes | 2014-07-30 | 1 | -1/+1 |
* | Merge pull request #15266 from dv/use_counter_cache_for_empty_call | Godfrey Chan | 2014-07-15 | 1 | -0/+8 |
|\ |
|
| * | If a counter_cache exists, use it for #empty? | David Verhasselt | 2014-06-10 | 1 | -0/+8 |
* | | Deprecate automatic counter caches on has_many :through | Sean Griffin | 2014-06-26 | 1 | -1/+9 |
* | | Always update counter caches in memory when adding records | Sean Griffin | 2014-06-16 | 1 | -0/+26 |
|/ |
|
* | Merge pull request #15210 from arthurnn/fix_hbtm_reflection | Arthur Neves | 2014-05-24 | 1 | -1/+2 |
* | remove count var | eileencodes | 2014-05-13 | 1 | -4/+2 |
* | rename delete_all_records to delete_or_nullify_all_records | eileencodes | 2014-05-13 | 1 | -1/+1 |
* | remove need for :all symbol | eileencodes | 2014-05-13 | 1 | -13/+6 |
* | begin refactoring delete_records method | eileencodes | 2014-05-13 | 1 | -12/+25 |
* | read_attribute is public, so we should just call it | Aaron Patterson | 2014-04-13 | 1 | -1/+1 |
* | make tests pass on Ruby 2.2 | Aaron Patterson | 2014-03-13 | 1 | -4/+4 |
* | fix HABTM w/out primary key errors on destruction | Kevin Casey | 2014-02-02 | 1 | -1/+1 |
* | Raise `RecordNotDestroyed` when children can't be replaced | Brian Thomas Storti | 2013-11-25 | 1 | -1/+1 |
* | Make sure inverse_of is visible on the has_many callbacks | Arthur Neves | 2013-09-25 | 1 | -0/+1 |
* | hm:t join tables may not have a primary key | Aaron Patterson | 2013-09-06 | 1 | -1/+5 |
* | Revert "Merge pull request #11416 from tigrish/master" | Yves Senn | 2013-07-22 | 1 | -1/+1 |
* | Remove ambiguity with pluralizations and I18n keys used for association restr... | Christopher Dell | 2013-07-13 | 1 | -1/+1 |
* | Dropped deprecated option `:restrict` for `:dependent` in associations | Neeraj Singh | 2013-07-03 | 1 | -1/+1 |
* | Removed support for deprecated `finder_sql` in associations. | Neeraj Singh | 2013-07-02 | 1 | -2/+0 |
* | Removed support for deprecated `counter_sql` | Neeraj Singh | 2013-07-02 | 1 | -1/+1 |
* | Fix the `:primary_key` option for `has_many` associations. | Yves Senn | 2013-05-23 | 1 | -2/+1 |
* | Update other counter caches on destroy | Ian Young | 2013-03-20 | 1 | -1/+1 |
* | dependent: :destroy should call destroy_all | Neeraj Singh | 2013-03-11 | 1 | -2/+3 |
* | :counter_cache option for to support custom named counter caches. Closes #7993 | Yves Senn | 2012-11-04 | 1 | -1/+1 |
* | move dependency logic out of generated methods | Jon Leighton | 2012-08-10 | 1 | -0/+22 |
* | s/scoped/scope/ | Jon Leighton | 2012-08-01 | 1 | -3/+3 |
* | Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql." | Jon Leighton | 2012-08-01 | 1 | -1/+7 |
* | Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql. | Jon Leighton | 2012-07-20 | 1 | -7/+1 |
* | Represent association scope options as AR::Relations insternally. | Jon Leighton | 2012-07-13 | 1 | -1/+1 |
* | Perf: Don't load the association for #delete_all. | Jon Leighton | 2012-05-18 | 1 | -2/+6 |
* | Fix #3672 again (dependent: delete_all perf) | Jon Leighton | 2011-12-14 | 1 | -7/+3 |
* | load has_many associations keyed off a custom primary key if that key is pres... | Brian Samson | 2011-11-25 | 1 | -0/+4 |
* | Perf fix | Jon Leighton | 2011-11-19 | 1 | -2/+6 |
* | Only save the record once when calling create! on a collection association. F... | Jon Leighton | 2011-05-31 | 1 | -2/+7 |
* | Remove extra white spaces on ActiveRecord docs. | Sebastian Martinez | 2011-05-23 | 1 | -1/+1 |
* | Move the code which builds a scope for through associations into a generic As... | Jon Leighton | 2011-03-10 | 1 | -2/+0 |
* | Use proper objects to do the work to build the associations (adding methods, ... | Jon Leighton | 2011-02-21 | 1 | -0/+1 |
* | Delegate Association#options to the reflection, and replace 'reflection.optio... | Jon Leighton | 2011-02-21 | 1 | -2/+2 |
* | Associations - where possible, call attributes methods rather than directly a... | Jon Leighton | 2011-02-21 | 1 | -16/+16 |
* | Split AssociationProxy into an Association class (and subclasses) which manag... | Jon Leighton | 2011-02-18 | 1 | -7/+5 |
* | Get rid of AssociationCollection#save_record | Jon Leighton | 2011-02-14 | 1 | -2/+2 |
* | Refactor the implementations of AssociatioCollection#delete and #destroy to b... | Jon Leighton | 2011-02-07 | 1 | -1/+1 |
* | Correctly update counter caches on deletion for has_many :through [#2824 stat... | Jon Leighton | 2011-02-07 | 1 | -15/+39 |