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_one_association.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Remove undocumented feature from has_one where you could pass false as the se...
Jon Leighton
2011-01-03
1
-20
/
+8
*
Create the association scope directly rather than going through with_scope
Jon Leighton
2011-01-03
1
-2
/
+2
*
Use the association directly in other places too
Jon Leighton
2011-01-03
1
-11
/
+9
*
Allow assignment on has_one :through where the owner is a new record [#5137 s...
Jon Leighton
2011-01-03
1
-3
/
+1
*
Rename AssociationReflection#primary_key_name to foreign_key, since the optio...
Jon Leighton
2010-12-31
1
-3
/
+3
*
And owner_quoted_id can go too
Jon Leighton
2010-12-31
1
-9
/
+0
*
Refactor we_can_set_the_inverse_on_this? to use a less bizarre name amongst o...
Jon Leighton
2010-12-26
1
-8
/
+3
*
Add a HasAssociation module for common code for has_* associations
Jon Leighton
2010-12-26
1
-0
/
+2
*
Remove AssociationProxy#dependent? - it's badly named and only used in one place
Jon Leighton
2010-12-26
1
-1
/
+1
*
Associations: DRY up the code which is generating conditions, and make it all...
Jon Leighton
2010-12-26
1
-14
/
+3
*
using arel to compile sql statements
Aaron Patterson
2010-12-25
1
-1
/
+2
*
Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584b
José Valim
2010-11-28
1
-1
/
+1
*
use persisted? instead of new_record? wherever possible
David Chelimsky
2010-11-09
1
-6
/
+6
*
Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc...
Jon Leighton
2010-10-30
1
-23
/
+16
*
dry up the hash dup and avoid sending nil values
Aaron Patterson
2010-08-11
1
-7
/
+7
*
Adds title to activerecord/lib/active_record/associations/*
Rizwan Reza
2010-06-16
1
-0
/
+1
*
Add more tests for the various ways we can assign objects to associations. [#...
Murray Steele
2009-12-28
1
-2
/
+1
*
Set inverse for #replace on a has_one association. [#3513 state:resolved]
George Ogata
2009-12-28
1
-0
/
+1
*
Make has_one with :conditions hash scope build or creation of the associated ...
Luciano G Panaro
2009-09-28
1
-0
/
+9
*
HasOneAssociation inherits AssociationProxy since it shares nothing with Belo...
Emilio Tagua
2009-06-12
1
-5
/
+5
*
Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"
Jeremy Kemper
2009-05-11
1
-1
/
+1
*
Providing support for :inverse_of as an option to associations.
Murray Steele
2009-05-04
1
-1
/
+10
*
Fixed bug with polymorphic has_one :as pointing to an STI record
Ruy Asan
2009-05-01
1
-1
/
+1
*
Ensure replacing has_one associations respects the supplied :dependent option...
Dimitri Krassovski
2009-03-06
1
-2
/
+11
*
Ensure methods called on association proxies respect access control. [#1083 s...
Pratik Naik
2008-10-13
1
-1
/
+1
*
Add special AssociationReflection methods for creating association objects, a...
Hongli Lai (Phusion)
2008-09-09
1
-4
/
+12
*
Fix that has_one natural assignment to already associated record. [#854 state...
Jakub Kuźma
2008-08-21
1
-2
/
+2
*
Fix file permissions
Tarmo Tänav
2008-07-31
1
-0
/
+0
*
Add support for :primary_key option to has_one as well as has_many so that a ...
Brad Greenlee
2008-07-06
1
-1
/
+10
*
Extract owner_quoted_id so it can be overridden. [#292 state:committed]
Andre Arko
2008-06-25
1
-2
/
+2
*
Added :select option to has_one and belongs_to, remove unused :order option o...
josevalim
2008-05-24
1
-2
/
+3
*
Introduce the :readonly option to all associations. Records from the associat...
Jeremy Kemper
2008-02-13
1
-1
/
+2
*
More thoroughly quote table names. Exposes some issues with sqlite2 adapter. ...
Jeremy Kemper
2008-01-05
1
-3
/
+3
*
Formatting, grammar and spelling fixes for the associations documentation. [s...
Michael Koziarski
2007-08-28
1
-1
/
+1
*
with_scope is protected. Closes #8524.
Jeremy Kemper
2007-05-30
1
-1
/
+1
*
dry up some duplicated code
Jamis Buck
2007-01-11
1
-37
/
+21
*
treat create! like create and make sure the target is loaded first
Jamis Buck
2007-01-11
1
-0
/
+1
*
fix regression in has_one#create, that caused instances thus created to be or...
Jamis Buck
2007-01-11
1
-0
/
+4
*
Remove side effects of [5684]
Tobias Lütke
2006-12-08
1
-2
/
+2
*
Consolidated different create and create! versions to call through to the bas...
Tobias Lütke
2006-12-06
1
-3
/
+30
*
Backed out of new_record? to new? transformation as it would screw up existin...
David Heinemeier Hansson
2006-09-05
1
-5
/
+5
*
Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::Base.new?...
David Heinemeier Hansson
2006-09-05
1
-5
/
+5
*
Rename quote to quote_value so the name can be used in AR models. #3628 [Koz]
Michael Koziarski
2006-09-04
1
-1
/
+1
*
Use association's :conditions when eager loading. [jeremyevans0@gmail.com] cl...
Rick Olson
2006-03-16
1
-1
/
+1
*
Added Base.abstract_class? that marks which classes are not part of the Activ...
Rick Olson
2006-03-16
1
-1
/
+1
*
Fixed that calling HasOneProxy#build_model repeatedly would cause saving to h...
David Heinemeier Hansson
2006-03-03
1
-1
/
+1
*
save polymorphic joins from the has_many|one association (closes #3812) [Rick...
David Heinemeier Hansson
2006-02-12
1
-2
/
+1
*
Polymorphic join support for has_one associations (has_one :foo, :as => :bar)...
Jeremy Kemper
2006-02-09
1
-2
/
+8
*
Added preliminary support for join models [DHH] Added preliminary support for...
David Heinemeier Hansson
2005-12-03
1
-13
/
+14
*
Don't add the same conditions twice in has_one finder sql. References #2916.
Jeremy Kemper
2005-11-17
1
-1
/
+1
[next]