- 15 1月, 2015 12 次提交
-
-
由 Sean Griffin 提交于
Time columns should support time zone aware attributes
-
由 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 25 次提交
-
-
由 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]
-
由 Andrew White 提交于
Add missing time zone definitions for Russian Federation
-
由 Derek Reeve 提交于
The HTML generated using url: { action: :create} will not generate the form action "/articles/create", it should generate the form action "/articles" for a new object.
-
由 Abdelkader Boudih 提交于
Guides: Removing reference to blog that is not updated anymore [ci skip]
-
由 Andrey Nering 提交于
-
由 David Heinemeier Hansson 提交于
Clean up grammar in scaffold index view, by removing the word 'Listing' ...
-
由 Sean Griffin 提交于
Fixes #18473
-
由 Andrey Novikov 提交于
Also sync Russian Federation time zones with `zone.tab` file from tzdata version 2014j.
-
由 David Heinemeier Hansson 提交于
-
由 David Heinemeier Hansson 提交于
-
- 13 1月, 2015 3 次提交
-
-
由 David Heinemeier Hansson 提交于
-
由 Rafael Mendonça França 提交于
Added the SQL equivalent of the find_by method. [ci skip]
-
由 Claudio B. 提交于
Update asset pipeline guide
-