aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/rails/generators
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-05-20 09:15:22 -0700
committerSean Griffin <sean@thoughtbot.com>2014-05-20 09:15:22 -0700
commite781aa31fc52a7c696115302ef4d4e02bfd1533b (patch)
treecd23f0a417dfee59208965bb3921a6173b40dbd7 /activerecord/lib/rails/generators
parent89ca6806a72006ef493e5e6ceb50f8ed02dc2da3 (diff)
downloadrails-e781aa31fc52a7c696115302ef4d4e02bfd1533b.tar.gz
rails-e781aa31fc52a7c696115302ef4d4e02bfd1533b.tar.bz2
rails-e781aa31fc52a7c696115302ef4d4e02bfd1533b.zip
Replace `type_cast` case statement with delegation
All subclasses of column were now delegating `type_cast` to their injected type object. We can remove the overriding methods, and generalize it on the `Column` class itself. This also enabled us to remove several column classes completely, as they no longer had any meaningful behavior of their own.
Diffstat (limited to 'activerecord/lib/rails/generators')
0 files changed, 0 insertions, 0 deletions