- 16 12月, 2010 3 次提交
-
-
由 Jon Leighton 提交于
-
由 Aaron Patterson 提交于
-
由 Jon Leighton 提交于
-
- 15 12月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 28 11月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 15 11月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Jason Cheow 提交于
Fix bug where size of through association is not correct after adding a has_many association (occurs only before main object has been reloaded). [#5968 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 09 11月, 2010 1 次提交
-
-
由 David Chelimsky 提交于
- persisted? is the API defined in ActiveModel - makes it easier for extension libraries to conform to ActiveModel APIs without concern for whether the extended object is specifically ActiveRecord [#5927 state:committed] Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
-
- 30 10月, 2010 1 次提交
-
-
由 Jon Leighton 提交于
Refactoring: replace the mix of variables like @finder_sql, @counter_sql, etc with just a single scope hash (created on initialization of the proxy). This is now used consistently across all associations. Therefore, all you have to do to ensure finding/counting etc is done correctly is implement the scope correctly.
-
- 14 8月, 2010 2 次提交
-
-
由 Santiago Pastorino 提交于
-
由 Santiago Pastorino 提交于
-
- 03 8月, 2010 1 次提交
-
-
由 Neeraj Singh 提交于
-
- 17 6月, 2010 1 次提交
-
-
由 Rizwan Reza 提交于
-
- 28 3月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
-
- 17 1月, 2010 1 次提交
-
-
由 José Valim 提交于
-
- 16 1月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-
- 11 8月, 2009 3 次提交
-
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
由 Pratik Naik 提交于
-
- 10 8月, 2009 2 次提交
-
-
由 railsbob 提交于
[#2934 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
由 railsbob 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 09 8月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
-
- 01 7月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved]"" This reverts commit 80f1f863. The feature doesn't work on Postgres, so don't test it on Postgres. Also, Postgres compatibility is irrelevant to the ticket/patch in question.
-
- 23 6月, 2009 1 次提交
-
-
Revert "Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved]" This reverts commit 4851ca9e. The tests do not pass for postgresql.
-
- 22 6月, 2009 1 次提交
-
-
由 Patrick Joyce 提交于
Generate proper :counter_sql from :finder_sql when there is a newline character immediately following 'SELECT' [#2118 state:resolved] Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 13 6月, 2009 1 次提交
-
-
由 Adam Milligan 提交于
[#1642 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 11 6月, 2009 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 19 5月, 2009 1 次提交
-
-
由 Luca Guidi 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.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>
-
- 09 3月, 2009 1 次提交
-
-
由 Jim Remsik and Tim Pope 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 07 3月, 2009 1 次提交
-
-
由 Adam Milligan 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 27 2月, 2009 1 次提交
-
-
由 David Heinemeier Hansson 提交于
-
- 21 12月, 2008 1 次提交
-
-
由 Karthik Krishnan 提交于
Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
- 05 10月, 2008 1 次提交
-
-
由 Zach Dennis 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 24 9月, 2008 1 次提交
-
-
由 Hongli Lai (Phusion) 提交于
AssociationCollection now starts transactions by calling AssociationCollection#transaction instead of @owner.transaction or @reflection.klass.transaction. Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#1081 state:committed]
-
- 10 9月, 2008 1 次提交
-
-
由 Hongli Lai (Phusion) 提交于
Add special AssociationReflection methods for creating association objects, and modify the code base to use those methods instead of creating association objects directly. This allows plugins to hook into association object creation behavior. [#986 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 29 8月, 2008 1 次提交
-
-
由 Ernie Miller 提交于
[#831 state:resolved] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 16 8月, 2008 1 次提交
-
-
由 Tarmo Tänav 提交于
-
- 26 6月, 2008 1 次提交
-
-
由 Andre Arko 提交于
-
- 01 6月, 2008 1 次提交
-
-
由 rick 提交于
Add ActiveRecord::Base.sti_name that checks ActiveRecord::Base#store_full_sti_class? and returns either the full or demodulized name. [rick] [#114 state:resolved]
-