diff options
author | Sean Griffin <sean@thoughtbot.com> | 2014-06-09 13:27:15 -0600 |
---|---|---|
committer | Sean Griffin <sean@thoughtbot.com> | 2014-06-09 13:39:51 -0600 |
commit | d24e6407a7f5d662cb52ed57efc4d8ee11758170 (patch) | |
tree | cf3a8925d1776444195a85229e1479e51f9eb849 /activerecord/lib/active_record/persistence.rb | |
parent | 254efb712ac10fd8e165fb34bb459f4abd59b213 (diff) | |
download | rails-d24e6407a7f5d662cb52ed57efc4d8ee11758170.tar.gz rails-d24e6407a7f5d662cb52ed57efc4d8ee11758170.tar.bz2 rails-d24e6407a7f5d662cb52ed57efc4d8ee11758170.zip |
Rename `type_cast` to `type_cast_from_database`
In some cases there is a difference between the two, we should always
be doing one or the other. For convenience, `type_cast` is still a
private method on type, so new types that do not need different behavior
don't need to implement two methods, but it has been moved to private so
it cannot be used accidentally.
Diffstat (limited to 'activerecord/lib/active_record/persistence.rb')
0 files changed, 0 insertions, 0 deletions