From ffe001f19dbbd9e697f6300650779f5e1391ce1e Mon Sep 17 00:00:00 2001 From: wycats Date: Wed, 2 Jun 2010 22:56:41 +0200 Subject: Changes made while working on upgrading cells to Rails 3 --- actionpack/lib/action_view/paths.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_view/paths.rb') diff --git a/actionpack/lib/action_view/paths.rb b/actionpack/lib/action_view/paths.rb index 35927d09d1..7f5e5d11b8 100644 --- a/actionpack/lib/action_view/paths.rb +++ b/actionpack/lib/action_view/paths.rb @@ -31,6 +31,7 @@ module ActionView #:nodoc: def typecast! each_with_index do |path, i| + path = path.to_s if path.is_a?(Pathname) next unless path.is_a?(String) self[i] = FileSystemResolver.new(path) end -- cgit v1.2.3