- 16 1月, 2015 10 次提交
-
-
由 brainopia 提交于
after_commit callbacks run after committing a transaction whose parent is not `joinable?`: un-nested transactions, transactions within test cases, and transactions in `console --sandbox`.
-
由 Yves Senn 提交于
-
由 Yves Senn 提交于
Tiny: DRY default limit in ActiveRecord::Type::Integer
-
由 Rafael Mendonça França 提交于
Tiny: Remove incorrect comment in ActiveRecord::Type::Value
-
由 Henrik Nyh 提交于
-
由 Henrik Nyh 提交于
Says it's only used for the schema, but they are in fact used for other things. Integer verifies against the limit during casting, and Decimal uses precision during casting. It may be true that scale is only used for the schema.
-
由 Abdelkader Boudih 提交于
Adding tip about jQuery UJS [ci skip]
-
由 Andrey Nering 提交于
Reference #18533
-
由 Abdelkader Boudih 提交于
[ci skip] fix typo sill -> still
-
由 Aditya Kapoor 提交于
-
- 15 1月, 2015 14 次提交
-
-
由 Zachary Scott 提交于
Fix Typo SecureToken for schema sample [ci skip]
-
由 Sean Griffin 提交于
Time columns should support time zone aware attributes
-
由 Jeroen K. 提交于
-
由 Sean Griffin 提交于
The types that are affected by `time_zone_aware_attributes` (which is on by default) have been made configurable, in case this is a breaking change for existing applications.
-
由 Vijay Dev 提交于
-
由 Sean Griffin 提交于
While we don't want to change the form input when validations fail, blindly using `_before_type_cast` will cause the input to display the wrong data for any type which does additional work on database values.
-
由 Sean Griffin 提交于
If you entered incorrect input into a form (particularly with a numericality validation), we should not replace what you typed in with `0`, since clicking submit a second time would essentially be the same as erroneously accepting the junk input as 0.
-
由 Sean Griffin 提交于
This reverts commit 787e22bb.
-
由 Sean Griffin 提交于
We should never be ignoring valuable information that the types may need to give us. The reason that it originally used `_before_type_cast` is unclear, but appears to date back long enough that the reasons may not be relevant today. There is only one test that asserts that it uses the before type cast version, but it gives no context as to why and uses a mock which does not simulate the real world. Fixes #18523.
-
由 Sean Griffin 提交于
Building the Arel AST, and manipulating the relation manually like this is prone to errors and breakage as implementation details change from underneath it.
-
由 Sean Griffin 提交于
Building the Arel AST, and manipulating the relation manually like this is prone to errors and breakage as implementation details change from underneath it.
-
由 Sean Griffin 提交于
This behavior exists only to support fixtures, so we should handle it there. Leaving it in `#quote` can cause very subtle bugs to slip through, by things appearing to work when they should be blowing up loudly, such as #18385.
-
由 Rafael Mendonça França 提交于
Correct the views that the mail method sends in API docs.
-
由 Andrew Vida 提交于
-
- 14 1月, 2015 16 次提交
-
-
由 Xavier Noria 提交于
Changed "in GitHub" to "on GitHub" [ci skip]
-
由 Prathamesh Sonpatki 提交于
- Followup of https://github.com/rails/rails/pull/18503.
-
由 Robin Dupret 提交于
Fix typo in ActionView CHANGELOG [ci skip]
-
由 Prathamesh Sonpatki 提交于
-
由 Xavier Noria 提交于
Changed `IN` to `ON` in markdown renderer condition
-
由 Akira Matsuda 提交于
-
由 Yves Senn 提交于
Grammar: "By default, Rails loads generators from your load path." [ci skip]
-
由 Yves Senn 提交于
Extract `Date` header to string constant in Http Response, similar to other headers
-
由 Yves Senn 提交于
fix link in autoloading guide [ci skip]
-
由 Vipul A M 提交于
-
由 Vipul A M 提交于
- Changed `IN` to `ON` in all note sentences in guides.
-
由 Vipul A M 提交于
Before: http://take.ms/z39h2 After: http://take.ms/Mo0G3
-
由 yuuji.yaginuma 提交于
-
由 Michael Dawson 提交于
-
由 Sean Griffin 提交于
ActiveRecord: On reconnection failure, release only failed connetion.
-
由 Abdelkader Boudih 提交于
Fix form_for guide binding a form to an object. [ci skip]
-