diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-01-28 08:00:11 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-01-28 08:00:11 +0900 |
commit | 1d26c86b8611bb37f5641d4f3e3e94d8675eba1d (patch) | |
tree | 085bb2211d4b22eea197ce13afc7fa1c9fa67d0f /guides/rails_guides/indexer.rb | |
parent | aadeed1518b9092ea21adf49c728172368129f0e (diff) | |
download | rails-1d26c86b8611bb37f5641d4f3e3e94d8675eba1d.tar.gz rails-1d26c86b8611bb37f5641d4f3e3e94d8675eba1d.tar.bz2 rails-1d26c86b8611bb37f5641d4f3e3e94d8675eba1d.zip |
Convert path to string before call `length`
Because eager load paths support to using `Pathname`, and `Pathname`
doesn't have `length` method.
Ref: https://travis-ci.org/rails/rails/jobs/485088071#L5140-L5143
Follow up aadeed1518b9092ea21adf49c728172368129f0e.
Diffstat (limited to 'guides/rails_guides/indexer.rb')
0 files changed, 0 insertions, 0 deletions