- 29 1月, 2014 7 次提交
-
-
由 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 25 次提交
-
-
由 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 提交于
-
由 Xavier Noria 提交于
Modern RDoc accepts a few more things in +...+. In particular symbols work now. The current regexp in RDoc is https://github.com/rdoc/rdoc/blob/v4.1.1/lib/rdoc/markup/attribute_manager.rb#L133.
-
由 Xavier Noria 提交于
Closes #11247.
-
由 Robin Dupret 提交于
Fix order syntax in find_by_sql example [ci skip]
-
由 Greg Saks 提交于
-