index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
lib
/
active_record
/
associations
/
has_many_association.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
`self.` is not needed when calling its own instance method
Akira Matsuda
2017-01-05
1
-1
/
+1
*
Merge pull request #26352 from kamipo/avoid_to_call_set_inverse_instance_twice
Arthur Nogueira Neves
2017-01-03
1
-1
/
+0
|
\
|
*
Avoid to call `set_inverse_instance` twice for `has_many` association
Ryuta Kamizono
2016-12-28
1
-1
/
+0
*
|
Remove deprecated i18n scopes in Active Record
Rafael Mendonça França
2016-12-29
1
-8
/
+1
|
/
*
Fixes TypeError Exception when cache counter value equals nil (#26940)
Daniel E. Garcia Shulman
2016-11-02
1
-1
/
+1
*
fixes remaining RuboCop issues [Vipul A M, Xavier Noria]
Xavier Noria
2016-09-01
1
-1
/
+1
*
modernizes hash syntax in activerecord
Xavier Noria
2016-08-06
1
-2
/
+2
*
Fixed unnecessary nesting in handle_dependency
Herman Hiddema
2016-07-04
1
-7
/
+5
*
Make #increment! and #decrement! methods concurency safe
Bogdan Gusiev
2015-10-05
1
-8
/
+2
*
Clean up the implementation of AR::Dirty
Sean Griffin
2015-09-24
1
-1
/
+1
*
`restrict_with_error` message will now respect owner’s human name in any lo...
Ronak Jangir
2015-09-12
1
-1
/
+1
*
HasManyAssociation: moved half of counter cache code to reflection
Bogdan Gusiev
2015-09-03
1
-60
/
+9
*
Merge pull request #19683 from tristang/require-option-for-counter-cache
Rafael Mendonça França
2015-08-13
1
-1
/
+8
|
\
|
*
Require explicit counter_cache option for has_many
Tristan Gamilis
2015-04-07
1
-1
/
+8
*
|
Deprecate and rename the keys for association restrict_dependent_destroy
Roque Pinel
2015-07-20
1
-1
/
+8
|
/
*
Correct errors in counter cache updating
Sean Griffin
2015-02-03
1
-1
/
+5
*
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
[next]