- 17 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 02 7月, 2017 1 次提交
-
-
由 Matthew Draper 提交于
This reverts commit 3420a145, reversing changes made to afb66a5a.
-
- 01 7月, 2017 1 次提交
-
-
由 Kir Shatrov 提交于
-
- 07 8月, 2016 1 次提交
-
-
由 Xavier Noria 提交于
-
- 24 5月, 2016 1 次提交
-
-
由 Raimo Tuisku 提交于
Addresses https://github.com/rails/rails/issues/22396
-
- 22 9月, 2015 1 次提交
-
-
由 Kir Shatrov 提交于
The first step of bringing typecasting to ActiveModel
-
- 18 2月, 2015 2 次提交
-
-
由 Sean Griffin 提交于
This helper no longer makes sense as a separate method. Instead I'll just have `deserialize` call `cast` by default. This led to a random infinite loop in the `JSON` pg type, when it called `super` from `deserialize`. Not really a great way to fix that other than not calling super, or continuing to have the separate method, which makes the public API differ from what we say it is.
-
由 Sean Griffin 提交于
-
- 11 2月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
The latest version of the PG gem can actually convert the primitives for us in C code, which gives a pretty substantial speed up. A few cases were only there to add the `infinity` method, which I just put on the range type (which is the only place it was used). Floats also needed to parse `Infinity` and `NaN`, but it felt reasonable enough to put that on the generic form.
-
- 08 2月, 2015 1 次提交
-
-
由 Sean Griffin 提交于
The type code is actually quite accessible, and I'm planning to encourage people to look at the files in the `type` folder to learn more about how it works. This will help reduce the noise from code that is less about type casting, and more about random AR nonsense.
-
- 07 6月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
Only `Date` and `Time` are handled.
-
- 28 5月, 2014 1 次提交
-
-
由 Sean Griffin 提交于
`ActiveRecord::ConnectionAdapters::Type::Value` => `ActiveRecord::Type::Value`
-