aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/type_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add a global type registry, used to lookup and register typesSean Griffin2015-02-151-0/+39
As per previous discussions, we want to give users the ability to reference their own types with symbols, instead of having to pass the object manually. This adds the class that will be used to do so. ActiveRecord::Type.register(:money, MyMoneyType)