aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type_caster
Commit message (Collapse)AuthorAgeFilesLines
* Ensure the type caster object given to Arel is always marshallableSean Griffin2015-01-261-3/+4
| | | | | | | | | | | | The Relation will ultimately end up holding a reference to the arel table object, and its associated type caster. If this is a `TypeCaster::Connection`, that means it'll hold a reference to the connection adapter, which cannot be marshalled. We can work around this by just holding onto the class object instead. It's ugly, but I'm hoping to remove the need for the connection adapter type caster in the future anyway. [Sean Griffin & anthonynavarre]
* Extract an explicit type caster classSean Griffin2014-12-292-0/+53