Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `type_cast_from_user` -> `cast` | Sean Griffin | 2015-02-17 | 1 | -1/+1 |
| | |||||
* | Move non-type objects into the `Type::Helpers` namespace | Sean Griffin | 2015-02-07 | 1 | -1/+1 |
| | | | | | | | 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. | ||||
* | Push multi-parameter assignement into the types | Sean Griffin | 2015-02-07 | 1 | -0/+30 |
This allows us to remove `Type::Value#klass`, as it was only used for multi-parameter assignment to reach into the types internals. The relevant type objects now accept a hash in addition to their previous accepted arguments to `type_cast_from_user`. This required minor modifications to the tests, since previously they were relying on the fact that mulit-parameter assignement was reaching into the internals of time zone aware attributes. In reaility, changing those properties at runtime wouldn't change the accessor methods for all other forms of assignment. |