Displaying 1 result from an estimated 1 matches for "borkedness".
2007 Aug 15
5
Misc notes concerning view_paths
...xpected behavior
here because action_controller.view_paths can be an array or a
string, while template_root is a single string. config.view_path can
be set to either a string or an array, as there''s basically no type
checking, but that doesn''t mean it''ll work.
So borkedness ensues. For example, when set to an array, you end up
with action_controller.view_paths being an array inside an array.
(See line 277 of initializer.rb)
I can set config.action_controller.view_paths separately and then
results are saner, but the way config.view_path works now is a bit
conf...