diff options
| author | Jon Leighton <j@jonathanleighton.com> | 2012-05-11 17:17:29 +0100 |
|---|---|---|
| committer | Jon Leighton <j@jonathanleighton.com> | 2012-05-11 20:11:04 +0100 |
| commit | a8637cf4938d2decd17e702c399ca9c0cf1a6052 (patch) | |
| tree | 5528c54f422590112a7982a6c1a0188cd66db50b /guides/code/getting_started | |
| parent | b892b4c08fe2cba133882252c64d123e319eb174 (diff) | |
| download | rails-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 'guides/code/getting_started')
0 files changed, 0 insertions, 0 deletions
