- 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>
-
- 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]
-
- 25 5月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 02 5月, 2008 1 次提交
-
-
由 Steven Soroka 提交于
Signed-off-by: NSteven Soroka <ssoroka78@gmail.com>
-
- 06 4月, 2008 2 次提交
-
-
由 Pratik Naik 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9231 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
由 Pratik Naik 提交于
Refactor HasManyThroughAssociation to inherit from HasManyAssociation. Association callbacks and <association>_ids= now work with hm:t. Closes #11516 [rubyruy] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9230 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 02 4月, 2008 1 次提交
-
-
由 Rick Olson 提交于
Add efficient #include? to AssociationCollection (for has_many/has_many :through/habtm). [stopdropandrew] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9200 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 29 3月, 2008 1 次提交
-
-
由 David Heinemeier Hansson 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 26 3月, 2008 1 次提交
-
-
由 Rick Olson 提交于
Fix issue where the :uniq option of a has_many :through association is ignored when find(:all) is called. Closes #9407 [cavalle] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9096 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 24 3月, 2008 1 次提交
-
-
由 Rick Olson 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9084 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 07 3月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8989 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 01 3月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
Reapplies [8865] with some fixes git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8957 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 28 2月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8932 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 18 2月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8890 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 16 2月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8874 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 15 2月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8869 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 14 2月, 2008 1 次提交
-
-
由 Rick Olson 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8865 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 03 2月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8790 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 02 2月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8776 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 27 1月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 05 1月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 22 12月, 2007 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 12 12月, 2007 1 次提交
-
-
由 Rick Olson 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8376 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 06 12月, 2007 1 次提交
-
-
由 David Heinemeier Hansson 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8301 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 21 11月, 2007 1 次提交
-
-
由 Jeremy Kemper 提交于
Dynamic finders on association collections respect association :limit. Closes #10227 [Jack Danger Canty] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-