1. 17 7月, 2017 1 次提交
  2. 02 7月, 2017 1 次提交
  3. 01 7月, 2017 1 次提交
  4. 07 8月, 2016 1 次提交
  5. 24 5月, 2016 1 次提交
  6. 22 9月, 2015 1 次提交
  7. 18 2月, 2015 2 次提交
    • S
      Rm `Type#type_cast` · ad127d88
      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.
      ad127d88
    • S
      `type_cast_for_database` -> `serialize` · 1455c4c2
      Sean Griffin 提交于
      1455c4c2
  8. 11 2月, 2015 1 次提交
    • S
      Remove most PG specific type subclasses · aafee233
      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.
      aafee233
  9. 08 2月, 2015 1 次提交
    • S
      Move non-type objects into the `Type::Helpers` namespace · c4ef73af
      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.
      c4ef73af
  10. 07 6月, 2014 1 次提交
  11. 28 5月, 2014 1 次提交