- 10 6月, 2008 1 次提交
-
-
由 Brandon Keepers 提交于
-
- 01 6月, 2008 3 次提交
-
-
由 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]
-
由 Tim Harper 提交于
belongs_to polymorphic association assignments update the foreign_id and foreign_type fields regardless of whether the record being assigned is new or not. fixes the following scenarios: * I have validates_inclusion_of on the type field for a polymorphic belongs_to association. I assign a new record to the model's polymorphic relationship of the proper type. validation fails because the type field has not been updated. * I replace the value for a ppolymorphic association to a new record of another class. The type field still says its the previous class, and the id field points to the previous record as well. [#191 state:closed]
-
由 Tim Harper 提交于
belongs_to polymorphic association assignments update the foreign_id and foreign_type fields regardless of whether the record being assigned is new or not. fixes the following scenarios: * I have validates_inclusion_of on the type field for a polymorphic belongs_to association. I assign a new record to the model's polymorphic relationship of the proper type. validation fails because the type field has not been updated. * I replace the value for a ppolymorphic association to a new record of another class. The type field still says its the previous class, and the id field points to the previous record as well.
-
- 29 5月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Ensure AssociationCollection#count works with empty condition. [#271 state:resolved] [Jan De Poorter]
-
- 25 5月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
- 24 5月, 2008 2 次提交
-
-
由 Ryan Bates 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#248 state:resolved]
-
由 josevalim 提交于
Signed-off-by: NMichael Koziarski <michael@koziarski.com> [#241 state:resolved]
-
- 21 5月, 2008 1 次提交
-
-
由 Pratik Naik 提交于
-
- 20 5月, 2008 2 次提交
-
-
由 Ryan Bates 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 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 2 次提交
-
-
由 Xavier Noria 提交于
Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
-
由 Steven Soroka 提交于
Signed-off-by: NSteven Soroka <ssoroka78@gmail.com>
-
- 23 4月, 2008 2 次提交
-
-
由 David Dollar 提交于
-
由 Joshua Bates 提交于
Fix include? on has_many collections with finder_sql to fall back to Array include? rather than try to use SQL. [#18 state:resolved]
-
- 06 4月, 2008 3 次提交
-
-
由 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
-
由 Pratik Naik 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 05 4月, 2008 2 次提交
-
-
由 Pratik Naik 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
由 Josh Peek 提交于
Replaced callback method evaluation in AssociationCollection class to use ActiveSupport::Callbacks. Modified ActiveSupport::Callbacks::Callback#call to accept multiple arguments. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
- 04 4月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9224 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
-
- 22 3月, 2008 2 次提交
-
-
由 Rick Olson 提交于
Allow association scoping for built/created records if :conditions is specified as a hash. Closes #11393 [miloops] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-
由 Rick Olson 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9067 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
-
- 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
-
- 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
-
- 26 1月, 2008 1 次提交
-
-
由 Michael Koziarski 提交于
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-