“53006464a81d65e3b030cc757bf1f0fc20ca3d42”上不存在“projects/git@gitcode.net:t7hihi/mirrors-settings.git”
- 11 4月, 2010 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 17 3月, 2010 1 次提交
-
-
由 Aaron Patterson 提交于
Signed-off-by: Nwycats <wycats@gmail.com>
-
- 13 3月, 2010 1 次提交
-
-
由 Xavier Noria 提交于
keep AssociationProxy#to_a to avoid warning in Array(post.author), and delegate it to @target in association collections [#4165 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 01 1月, 2010 1 次提交
-
-
由 Pratik Naik 提交于
-
- 13 12月, 2009 1 次提交
-
-
由 Joshua Peek 提交于
I think it may of broke the build. Lets see. This reverts commit 49e943c4. Conflicts: activerecord/test/cases/associations/has_many_associations_test.rb
-
- 03 12月, 2009 1 次提交
-
-
由 Mat Brown 提交于
In the current stable, ActiveRecord::Associations::AssociationProxy#method_missing calls yield() if a block is given, causing the block to always be evaluated in its calling context. However, in the case of instance_eval, correct behavior requires that the block be passed directly to the @target, rather than being evaluated inside a different block. Incidentally, this also simplifies the code slightly. [#3412 state:committed] Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 14 11月, 2009 3 次提交
-
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
由 Jeremy Kemper 提交于
-
- 19 8月, 2009 1 次提交
-
-
由 Emilio Tagua 提交于
-
- 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>
-
- 20 4月, 2009 1 次提交
-
-
由 Pratik Naik 提交于
Ensure JoinAssociation uses aliased table name when multiple associations have hash conditions on the same table
-
- 01 1月, 2009 1 次提交
-
-
由 Roman Shterenzon 提交于
Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
- 27 12月, 2008 1 次提交
-
-
由 Roman Shterenzon 提交于
Signed-off-by: NFrederick Cheung <frederick.cheung@gmail.com>
-
- 05 12月, 2008 1 次提交
-
-
由 Mike Ferrier 提交于
Make NoMethodError message more descriptive when an undefined message has been sent to an association [#1515 state:resolved] Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 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]
-
- 14 10月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Ensure methods called on association proxies respect access control. [#1083 state:resolved] [Adam Milligan, Pratik]
-
- 05 10月, 2008 1 次提交
-
-
由 Lawrence Pit 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 04 9月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 28 8月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 24 8月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
-
- 18 8月, 2008 3 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 17 8月, 2008 1 次提交
-
-
由 Nathan Witmer 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 27 6月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 26 6月, 2008 1 次提交
-
-
由 Andre Arko 提交于
-
- 21 5月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 20 5月, 2008 1 次提交
-
-
由 Nate Wiger 提交于
- Updated tzinfo to use Rational() instead of Rational.new! due to "private method new!" in Ruby 1.9 - Added ^object_id$ as ignore pattern to fixing "redefining object_id" issue in Ruby 1.9 Signed-off-by: NJeremy Kemper <jeremy@bitsweat.net>
-
- 08 5月, 2008 1 次提交
-
-
由 Andreas Neuhaus 提交于
Calling ActiveRecord#inspect on an unloaded association won't wipe the collection [#9 state:resolved] Signed-off-by: NJoshua Peek <josh@joshpeek.com>
-
- 02 5月, 2008 1 次提交
-
-
由 Xavier Noria 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 06 4月, 2008 1 次提交
-
-
由 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
-
- 05 4月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 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
-
- 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
-
- 16 2月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8874 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
-
- 13 2月, 2008 1 次提交
-
-
由 Jeremy Kemper 提交于
Introduce the :readonly option to all associations. Records from the association cannot be saved. Closes #11084. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8864 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 26 1月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 10 12月, 2007 1 次提交
-
-
由 Jeremy Kemper 提交于
post.comments.reload returns the association rather than the result of load_target. Closes #10438 [Fred Cheung] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8347 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-