aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2012-05-11 17:17:29 +0100
committerJon Leighton <j@jonathanleighton.com>2012-05-11 20:11:04 +0100
commita8637cf4938d2decd17e702c399ca9c0cf1a6052 (patch)
tree5528c54f422590112a7982a6c1a0188cd66db50b /activemodel/test/cases/validations
parentb892b4c08fe2cba133882252c64d123e319eb174 (diff)
downloadrails-a8637cf4938d2decd17e702c399ca9c0cf1a6052.tar.gz
rails-a8637cf4938d2decd17e702c399ca9c0cf1a6052.tar.bz2
rails-a8637cf4938d2decd17e702c399ca9c0cf1a6052.zip
Use respond_to?(:to_ary) rather than is_a?(Enumerable) to detect collection-thing.
Diffstat (limited to 'activemodel/test/cases/validations')
0 files changed, 0 insertions, 0 deletions