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
*
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
*
Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584b
José Valim
2010-11-28
1
-1
/
+1
*
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
*
fisting uninitialized ivar warnings. [#4198 state:resolved]
Aaron Patterson
2010-03-16
1
-0
/
+1
*
keep AssociationProxy#to_a to avoid warning in Array(post.author), and delega...
Xavier Noria
2010-03-12
1
-1
/
+1
*
Make sure association proxy does not pass quoted table name to sanitize_sql
Pratik Naik
2010-01-01
1
-1
/
+1
*
Revert "Fix instance_eval calls to association proxies"
Joshua Peek
2009-12-12
1
-2
/
+6
*
Fix instance_eval calls to association proxies
Mat Brown
2009-12-02
1
-6
/
+2
*
Ruby 1.9.2: use recursive flatten
Jeremy Kemper
2009-11-14
1
-7
/
+1
*
Ruby 1.9.2: fix flatten_deeper to preserve nils
Jeremy Kemper
2009-11-14
1
-1
/
+1
*
Ruby 1.9.2: avoid #flatten
Jeremy Kemper
2009-11-13
1
-4
/
+16
*
Remove unused quoted_record_ids, now ARel does this using ARel::In.
Emilio Tagua
2009-08-18
1
-9
/
+0
*
Providing support for :inverse_of as an option to associations.
Murray Steele
2009-05-04
1
-0
/
+14
*
Ensure JoinAssociation uses aliased table name when multiple associations hav...
Pratik Naik
2009-04-20
1
-2
/
+2
*
Fix HasManyAssociation#create ignoring the :primary_key option [#1633 state:r...
Roman Shterenzon
2009-01-01
1
-1
/
+4
*
Make NoMethodError message more descriptive when an undefined message has bee...
Mike Ferrier
2008-12-04
1
-1
/
+4
*
Add :having option to find, to use in combination with grouped finds. Also ad...
miloops
2008-12-01
1
-0
/
+1
[next]