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
/
association_proxy.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Merge remote branch 'rails/master' into identity_map
Emilio Tagua
2011-02-15
1
-143
/
+169
|
\
|
*
Add interpolation of association conditions back in, in the form of proc { .....
Jon Leighton
2011-02-14
1
-3
/
+8
|
*
Remove Relation#& alias for Relation#merge
Ernie Miller
2011-02-12
1
-1
/
+1
|
*
scope is always a Relation
Santiago Pastorino
2011-02-01
1
-3
/
+1
|
*
Propagate association extensions to scopes called on the association.
Glenn Vanderburg
2011-02-01
1
-0
/
+3
|
*
Rename AssociationProxy#loaded to loaded! as it mutates the association
Jon Leighton
2011-01-30
1
-3
/
+3
|
*
Abstract load_target conditional logic
Jon Leighton
2011-01-30
1
-5
/
+6
|
*
Remove unused methods conditions, sql_conditions and sanitize_sql
Jon Leighton
2011-01-30
1
-12
/
+0
|
*
Let's be less blasé about method visibility on association proxies
Jon Leighton
2011-01-30
1
-51
/
+54
|
*
Abstract common code from BelongsToAssociation and HasOneAssociation into Sin...
Jon Leighton
2011-01-16
1
-4
/
+5
|
*
write the delegate method directly to avoid `delegate` callstack overhead
Aaron Patterson
2011-01-14
1
-1
/
+5
|
*
reduce some lasigns
Aaron Patterson
2011-01-14
1
-2
/
+1
|
*
just use return value of load_target
Aaron Patterson
2011-01-12
1
-2
/
+1
|
*
just call methods on return value of `load_target`
Aaron Patterson
2011-01-12
1
-8
/
+3
|
*
default return value is nil
Aaron Patterson
2011-01-12
1
-1
/
+0
|
*
@loaded is defined in initialize, so we should not need this
Aaron Patterson
2011-01-12
1
-2
/
+0
|
*
just use respond_to? and super rather than aliasing around methods
Aaron Patterson
2011-01-12
1
-4
/
+3
|
*
adding a test for no method error
Aaron Patterson
2011-01-11
1
-11
/
+5
|
*
Get rid of set_association_target and association_loaded? as the parts of the...
Jon Leighton
2011-01-11
1
-1
/
+2
|
*
We can use the association_proxy method directly in HasOneThroughAssociation now
Jon Leighton
2011-01-11
1
-17
/
+18
|
*
Not really worth having the HasAssociation module for just a single method
Jon Leighton
2011-01-07
1
-2
/
+9
|
*
Construct an actual ActiveRecord::Relation object for the association scope, ...
Jon Leighton
2011-01-07
1
-16
/
+42
|
*
use attr_reader and alias methods to access instance variables
Aaron Patterson
2011-01-05
1
-8
/
+4
|
*
Create the association scope directly rather than going through with_scope
Jon Leighton
2011-01-03
1
-16
/
+20
|
*
Let AssociationCollection#find use #scoped to do its finding. Note that I am ...
Jon Leighton
2011-01-03
1
-14
/
+0
|
*
Rename AssociationProxy#foreign_key_present to foreign_key_present?
Jon Leighton
2011-01-03
1
-2
/
+2
|
*
Allow assignment on has_one :through where the owner is a new record [#5137 s...
Jon Leighton
2011-01-03
1
-9
/
+22
|
*
Refactor BelongsToAssociation to allow BelongsToPolymorphicAssociation to inh...
Jon Leighton
2010-12-31
1
-8
/
+23
|
*
And owner_quoted_id can go too
Jon Leighton
2010-12-31
1
-5
/
+0
|
*
Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst o...
Jon Leighton
2010-12-26
1
-9
/
+15
|
*
Add a HasAssociation module for common code for has_* associations
Jon Leighton
2010-12-26
1
-54
/
+5
|
*
Remove AssociationProxy#dependent? - it's badly named and only used in one place
Jon Leighton
2010-12-26
1
-5
/
+0
|
*
Associations: DRY up the code which is generating conditions, and make it all...
Jon Leighton
2010-12-26
1
-9
/
+36
|
*
Improved strategy for updating a belongs_to association when the foreign key ...
Jon Leighton
2010-12-23
1
-0
/
+10
*
|
Merge remote branch 'rails/master' into identity_map
Emilio Tagua
2010-12-20
1
-1
/
+1
|
\
|
|
*
Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584b
José Valim
2010-11-28
1
-1
/
+1
*
|
Use association_class method which returns the reflection class, this method ...
Emilio Tagua
2010-11-19
1
-2
/
+6
*
|
Check if constant is defined in AR, if not this can cause errors when using p...
Emilio Tagua
2010-11-19
1
-1
/
+1
*
|
Use hash[:Post][1] style identity maps for each table.
Emilio Tagua
2010-11-19
1
-3
/
+3
*
|
Remove associated object from identity map when reloading.
Emilio Tagua
2010-11-19
1
-0
/
+1
*
|
Associated objects are assigned from identity map if enabled and contains ass...
Emilio Tagua
2010-11-19
1
-2
/
+5
|
/
*
removing space errors
Aaron Patterson
2010-11-16
1
-2
/
+2
*
use persisted? instead of new_record? wherever possible
David Chelimsky
2010-11-09
1
-3
/
+3
*
Association Proxy should not undefine the default respond_to_missing
sblackstone
2010-11-04
1
-1
/
+1
*
Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc...
Jon Leighton
2010-10-30
1
-0
/
+19
*
Adds title to activerecord/lib/active_record/associations/*
Rizwan Reza
2010-06-16
1
-0
/
+2
*
Revert "removing the extra \"
Neeraj Singh
2010-06-15
1
-1
/
+1
*
removing the extra \
Neeraj Singh
2010-06-15
1
-1
/
+1
*
Prevent calling regexp on symbol in Ruby 1.9 in association_proxy
Ernie Miller
2010-05-05
1
-1
/
+1
*
Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...)
Jeremy Kemper
2010-04-10
1
-1
/
+3
[next]