- 17 1月, 2012 40 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
This should be set globally as a configuration, using `config.action_dispatch.default_charset` instead
-
由 Carlos Antonio da Silva 提交于
This seems to be required only when calling render :partial with an empty collection from a controller. This call happens to return no content, letting the response body empty, which means to Rails that it should go on and try to find a template to render based on the current action name, thus failing hard. Although tests keep all green, we need to check a better way to fix this.
-
由 Carlos Antonio da Silva 提交于
Do not create a method_missing method to handle not found actions, use the action_missing method provided by Rails instead.
-
由 Carlos Antonio da Silva 提交于
Options :nothing and :text => nil should be handled by ActionController::Rendering instead.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
Based on 50d23bc2.
-
由 Carlos Antonio da Silva 提交于
render :template => "/foo/bar"
-
由 Carlos Antonio da Silva 提交于
This is already being set by Rails configuration.
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 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 提交于
-