- 12 5月, 2009 1 次提交
-
-
由 Bryan Helmkamp 提交于
-
- 10 5月, 2009 2 次提交
-
-
由 Anthony Crumley 提交于
Fixed eager load error on find with include => [:table_name] and hash conditions like {:table_name => {:column => 'value'}} Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
由 Frederick Cheung 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 05 5月, 2009 1 次提交
-
-
由 Murray Steele 提交于
You can now add an :inverse_of option to has_one, has_many and belongs_to associations. This is best described with an example: class Man < ActiveRecord::Base has_one :face, :inverse_of => :man end class Face < ActiveRecord::Base belongs_to :man, :inverse_of => :face end m = Man.first f = m.face Without :inverse_of m and f.man would be different instances of the same object (f.man being pulled from the database again). With these new :inverse_of options m and f.man are the same in memory instance. Currently :inverse_of supports has_one and has_many (but not the :through variants) associations. It also supplies inverse support for belongs_to associations where the inverse is a has_one and it's not a polymorphic. Signed-off-by: NMurray Steele <muz@h-lame.com> Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 21 4月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 20 4月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
Ensure JoinAssociation uses aliased table name when multiple associations have hash conditions on the same table
-
- 17 4月, 2009 1 次提交
-
-
由 David Heinemeier Hansson 提交于
Added :touch option to belongs_to associations that will touch the parent record when the current record is saved or destroyed [DHH]
-
- 12 3月, 2009 1 次提交
-
-
由 Murray Steele 提交于
Ensure NoMethodError isn't raised when some of the nested eager loaded associations are empty [#1696 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 07 3月, 2009 3 次提交
-
-
由 Adam Milligan 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Adam Cooper 提交于
Ensure belongs_to association with a counter cache in name spaced model works [#1678 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Tom Lea 提交于
Ensure self referential HABTM associations raise an exception if association_foreign_key is missing. [#1252 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 27 2月, 2009 2 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 24 2月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 06 2月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 02 2月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 01 2月, 2009 1 次提交
-
-
由 Eloy Duran 提交于
Signed-Off-By: NMichael Koziarski <michael@koziarski.com> [#1202 state:committed]
-
- 17 1月, 2009 1 次提交
-
-
由 Ben VandenBos 提交于
Make belongs_to :dependent => :destroy destroy self before associated object [#1079 state:resolved] If foreign key constraints are in place then deleteing the associated object first will cause a foreign key violation Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
- 01 1月, 2009 2 次提交
-
-
由 Frederick Cheung 提交于
-
由 Frederick Cheung 提交于
-
- 29 12月, 2008 1 次提交
-
-
由 Xavier Noria 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 27 12月, 2008 2 次提交
-
-
由 Frederick Cheung 提交于
-
由 Frederick Cheung 提交于
-
- 21 12月, 2008 2 次提交
-
-
由 Frederick Cheung 提交于
-
由 Karthik Krishnan 提交于
Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
- 19 12月, 2008 3 次提交
-
-
由 Pratik Naik 提交于
-
由 Frederick Cheung 提交于
-
由 Frederick Cheung 提交于
-
- 02 12月, 2008 1 次提交
-
-
由 miloops 提交于
Add :having option to find, to use in combination with grouped finds. Also added to has_many and has_and_belongs_to_many associations. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1028 state:committed]
-
- 26 11月, 2008 1 次提交
-
-
由 Paul 提交于
Ensure hash conditions on referenced tables are considered when eager loading with limit/offset. [#1404 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 25 11月, 2008 1 次提交
-
-
由 Joshua Peek 提交于
-
- 07 11月, 2008 1 次提交
-
-
由 Tekin Suleyman 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com>
-
- 02 11月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 01 11月, 2008 2 次提交
-
-
由 Luca Guidi 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1310 state:committed]
-
由 Luca Guidi 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1310 state:committed]
-
- 24 10月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 22 10月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse.
-
- 10 10月, 2008 2 次提交
-
-
由 Michael Koziarski 提交于
There are several situations it doesn't cater for, and the inconsistency isn't worth blocking 2.2.
-
由 Will Bryant 提交于
explicitly including child associations that are also included in the parent association definition should not result in double records in the collection/double loads (#1110) Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1110 state:committed]
-
- 06 10月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-