- 03 12月, 2014 1 次提交
-
-
由 Melanie Gilman 提交于
-
- 02 12月, 2014 29 次提交
-
-
由 Rafael Mendonça França 提交于
This is the project guideline and the reasons are: * That follows standard Ruby semantics. * Allows the implementation to avoid artificial code like !! or something ? true : false * You do not need to rely on the exact type of 3rd party code. For example, if your method returns str.end_with?('foo') you do not need to make sure end_with? returns a singleton. Your predicate just propagates predicate semantics up regardless of what end_with? returns.
-
由 Rafael Mendonça França 提交于
Refactor debug view
-
由 Kir Shatrov 提交于
Avoid logic in ERB and use helpers
-
由 Sean Griffin 提交于
Add new methods to MessageVerifier
-
由 Rafael Mendonça França 提交于
Silence Minitest for plugin tests.
-
由 Rafael Mendonça França 提交于
`_generate_paths_by_default` should always be private.
-
由 Rafael Mendonça França 提交于
-
由 Yves Senn 提交于
no need to pass native_database_types around
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 Guo Xiang Tan 提交于
Fixes https://github.com/rails/rails/issues/17340. Use Minitest::BacktraceFilter instead of removing all silencers. This will allow the backtrace for all libraries in the plugin to be shown while removing noise generated by Minitest's backtrace.
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
Remove unused AV/test/fixtures/scope
-
由 Yves Senn 提交于
Remove unused AV/test/fixtures/happy_path
-
由 Santiago Pastorino 提交于
Remove unused AV/test/fixtures/blog_public
-
由 Santiago Pastorino 提交于
Remove one AV fixture (duplicate of an AP fixture)
-
由 Logan Leger 提交于
This commit adds a `#verified` method to `ActiveSupport::MessageVerifier` which will return either `false` when it encounters an error or the message. `#verify` continues to raise an `InvalidSignature` exception on error. This commit also adds a convenience boolean method on `MessageVerifier` as a way to check if a message is valid without performing the decoding.
-
由 Santiago Pastorino 提交于
Bugfix config.action_view.default_form_builder option
-
由 claudiob 提交于
Both ActionPack and ActionView include `test/fixtures/functional_caching/fragment_cached_without_digest.html.erb`. The [ActionPack file](https://github.com/rails/rails/blob/master/actionpack/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb) is used by the tests. The [ActionView file](https://github.com/rails/rails/blob/master/actionview/test/fixtures/functional_caching/fragment_cached_without_digest.html.erb) is not: it was introduced in eb23754e when some tests and fixtures were moved from AP to AV, but no tests in AV uses the fixture. Long story short: if Travis CI is happy with removing the fixture, you can be sure that is not needed anymore!
-
由 Aaron Patterson 提交于
-
由 Xavier Noria 提交于
Fix documentation for ActionMailer::Base#default [ci skip]
-
由 Sven Pachnit 提交于
Just a little syntax error I spotted by accident. Cannot pass hash with curly braces without normal parentheses.
-
由 Bogdan Gusiev 提交于
-
- 01 12月, 2014 10 次提交
-
-
由 Aaron Patterson 提交于
Fix OR in Journey patterns
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
-
由 Rafael Mendonça França 提交于
Fix value extracted from negative integers for PostgreSQL.
-
由 Guo Xiang Tan 提交于
Fixes: https://github.com/rails/rails/issues/17856.
-
由 Rafael Mendonça França 提交于
Pretty-print request params on exception page
-
由 Sean Griffin 提交于
The detection of in-place changes caused a weird unexpected issue with numericality validations. That validator (out of necessity) works on the `_before_type_cast` version of the attribute, since on an `:integer` type column, a non-numeric string would type cast to 0. However, strings are mutable, and we changed strings to ensure that the post type cast version of the attribute was a different instance than the before type cast version (so the mutation detection can work properly). Even though strings are the only mutable type for which a numericality validation makes sense, special casing strings would feel like a strange change to make here. Instead, we can make the assumption that for all mutable types, we should work on the post-type-cast version of the attribute, since all cases which would return 0 for non-numeric strings are immutable. Fixes #17852
-
由 Kir Shatrov 提交于
-
由 Rafael Mendonça França 提交于
FIX: absolute_path may be nil for code added via instance_eval