- 14 2月, 2014 1 次提交
-
-
由 Philippe Creux 提交于
-
- 29 1月, 2014 10 次提交
-
-
由 Yves Senn 提交于
Correctly send the string given to lock! and reload(:lock) to the lock scope - fixes #13788
-
由 Mauricio Linhares 提交于
As per the documentation at lock!, if the :lock option is a string it should use the given SQL to generate the lock statement.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Rafael Mendonça França 提交于
Added documentation for css_compressor in asset_pipeline.md
-
由 Rafael Mendonça França 提交于
Log for which keys values were set to nil in deep_munge
-
由 sowjanya 提交于
-
由 Godfrey Chan 提交于
Handle aliased attributes in AR::Relation#select, #order, etc.
-
由 Tsutomu Kuroda 提交于
With this we can write `Model#select(:aliased)`, `Model#order(:aliased)`, `Model#reoder(aliased: :desc)`, etc. Supplementary work to 54122067.
-
由 Lukasz Sarnacki 提交于
deep_munge solves CVE-2013-0155 security vulnerability, but its behaviour is definately confuisng. This commit adds logging to deep_munge. It logs keys for which values were set to nil. Also mentions in guides were added.
-
- 28 1月, 2014 8 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Damien Mathieu 提交于
Add docs about behaviour of replacing a has_one associate object.
-
由 Vipul A M 提交于
Add docs about behaviour of replacing a has_one associate object, that the previous one is deleted even if the new one doesn't get persisted to database. Fixes #13197 . [ci skip]
-
由 Carlos Antonio da Silva 提交于
Replace File.exists? with File.exist?
-
由 Teo Ljungberg 提交于
To quell warnings on ruby 2.1
-
由 Carlos Antonio da Silva 提交于
use the new clear_validators! api everywhere to reset validators in tests
-
由 Kuldeep Aggarwal 提交于
-
由 Rafael Mendonça França 提交于
Rails config for raise on missing translations
-
- 27 1月, 2014 21 次提交
-
-
由 Andrew White 提交于
The request attributes filtered_parameters, filtered_env and filtered_path are memoized for performance reasons. However this can cause unusual behavior in tests where there are multiple calls to get, post, etc. Fixes #13803.
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Carlos Antonio da Silva 提交于
-
由 Yves Senn 提交于
-
由 Carlos Antonio da Silva 提交于
Ability to specify multiple contexts when defining a validation.
-
由 Kassio Borges 提交于
Add a config to setup whether raise exception for missing translation or not.
-
由 Carlos Antonio da Silva 提交于
Display value when raising due to unscope() issues
-
由 Vince Puzzella 提交于
Example: validates_presence_of :name, on: [:update, :custom_validation_context]
-
由 Yves Senn 提交于
-
由 Guillermo Iguaran 提交于
Ruby on Rails 4.1 Release Notes: Fix spelling [ci skip]
-
由 Francis Go 提交于
-
由 Washington Luiz 提交于
Hopefully make it easier to debug errors. e.g Before: RuntimeError: unscope(where: "deleted_at") failed: unscoping String is unimplemented. After: RuntimeError: unscope(where: "deleted_at") failed: unscoping String "'t'='t'" is unimplemented.
-
由 Andrew White 提交于
Both Time#xmlschema and DateTime#xmlschema can accept nil values for the fraction_digits parameter. This commit makes this so for TimeWithZone values as well.
-
由 Andrew White 提交于
-
由 Andrew White 提交于
-
由 Andrew White 提交于
-
由 Andrew White 提交于
-
由 Parker Selbert 提交于
The subsecond fraction digits had been hardcoded to 3. This forced all timestamps to include the subsecond digits with no way to customize the value. While the subsecond format is part of the ISO8601 spec, it is not adhered to by all parsers (notably mobile clients). This adds the ability to customize the number of digits used, optionally setting them to 0 in order to eliminate the subsecond fraction entirely: ActiveSupport::JSON::Encoding.subsecond_fraction_digits = 0
-
由 Xavier Noria 提交于
-