- 17 1月, 2012 38 次提交
-
-
由 José Valim 提交于
Validates method should not change options argument
-
由 dreamfall 提交于
-
由 dreamfall 提交于
-
由 José Valim 提交于
when validating a record, if a validation context is used, use the same context when validating related records
-
由 José Valim 提交于
use thread variable in TaggedLogging
-
由 Piotr Sarnacki 提交于
Wrong behavior of ActiveModel::Errors#dup is causing regressions on Rails master
-
由 Paweł Kondzior 提交于
-
由 Paweł Kondzior 提交于
Since ActiveModel::Errors instance keeps all error messages as hash we should duplicate this object as well. Previously ActiveModel::Errors was a subclass of ActiveSupport::OrderedHash, which results in different behavior on `dup`, this may result in regression for people relying on it.
-
由 Emmanuel Oga 提交于
E.G.: ```ruby class Parent < ActiveRecord::Base has_one :child validates_presence_of :name, :on => "custom_context" validates_associated :child end class Child < ActiveRecord::Base belongs_to :parent validates_presence_of :name, :on => "custom_context" end p = Parent.new(:name => "Montoto", :child => Child.new) p.valid?(:custom_context) # => Returns true, even though the child is not valid under the same context. ```
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Sergey Nartimov 提交于
previous solution can cause race conditions under GIL-free ruby implementations
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
See the CHANGELOG for details. Fixes #950.
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
-
由 Jon Leighton 提交于
This reverts commit c99d507f.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
Stub ip method of alternative request class in router tests
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Vijay Dev 提交于
-
由 Piotr Sarnacki 提交于
-
由 José Valim 提交于
Use Rack::BodyProxy
-
- 16 1月, 2012 2 次提交
-
-
由 Sergey Nartimov 提交于
it's needed until new rack release with Rack::BodyProxy fixes https://github.com/rack/rack/commit/b06ef82876416fe69429f7d3ee6e51bf26aec75f
-
由 Sergey Nartimov 提交于
-