- 12 9月, 2009 1 次提交
-
-
由 Eloy Duran 提交于
-
- 08 9月, 2009 1 次提交
-
-
由 José Valim 提交于
Changed ActiveRecord to use new callbacks and speed up observers by only notifying events that are actually being consumed. Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 03 9月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
Revert "Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted." Test failures on PostgreSQL. [#3128 state:open] This reverts commit da636809.
-
- 02 9月, 2009 1 次提交
-
-
由 José Valim 提交于
Assert primary key does not exist in habtm when the association is defined, instead of doing that everytime a record is inserted. [#3128 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 10 8月, 2009 1 次提交
-
-
由 Gabe da Silveira 提交于
Enable has_many :through for going through a has_one association on the join model [#2719 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 09 8月, 2009 2 次提交
-
-
由 Dmitry Ratnikov 提交于
[#260 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 Rich Bradley 提交于
[#260 state:committed]
-
- 25 7月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 16 7月, 2009 1 次提交
-
-
由 Szymon Nowak 提交于
[#765 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 14 7月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 13 7月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 13 6月, 2009 1 次提交
-
-
由 Adam Milligan 提交于
[#1642 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 29 5月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
Break up DependencyModule's dual function of providing a "depend_on" DSL and "included" block DSL into separate modules. But, unify both approaches under AS::Concern.
-
- 18 5月, 2009 1 次提交
-
-
由 Benjamin Floering 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 14 5月, 2009 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 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>
-