Unlike developers on *nix machines, Windows users have to be explicit about 
rendering file. render can't figure it out because it tries to find ?/ in 
it's first argument if it's a string or symbol.

'/' is the *nix file separator. Windows uses '\'. Ruby's File::SEPARATOR, 
since 1.9.x knows the right separator to use depending on the operating 
system. Using that would let Rails developers on Windows look normal and 
save them some keystrokes

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-core+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-core@googlegroups.com.
Visit this group at http://groups.google.com/group/rubyonrails-core.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to