diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-08 16:12:00 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-08-08 16:12:00 -0700 |
commit | 175e92c9ac674536ad6c54937b54ef2e77217f08 (patch) | |
tree | cf2df2385e612eb55c7b4193f611edeec2ab00b0 /activerecord/test/config.example.yml | |
parent | 246bfcb473dad7a33a8459f5bef9c62f18ed1f1d (diff) | |
download | rails-175e92c9ac674536ad6c54937b54ef2e77217f08.tar.gz rails-175e92c9ac674536ad6c54937b54ef2e77217f08.tar.bz2 rails-175e92c9ac674536ad6c54937b54ef2e77217f08.zip |
eliminate runtime conditional
We know in advance whether the object is a dispatcher or not, so we can
configure the Constraints object with a strategy that will call the
right method.
Diffstat (limited to 'activerecord/test/config.example.yml')
0 files changed, 0 insertions, 0 deletions