RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: turadg
Site: http://turadg.aleahmad.net/
They changed the string array to a PathSet class in Rails 3.2.
To see it as a string array, <%= controller.view_paths.map &:to_path %>
It looks like the deprecation was an empty threat because it's there in 3.2:
http://apidock.com/rails/v3.2.13/AbstractController/ViewPaths/ClassMethods/prepend_view_path
They changed the string array to a PathSet class in Rails 3.2.
To see it as a string array, <%= controller.view_paths.map &:to_path %>
It looks like the deprecation was an empty threat because it's there in 3.2:
http://apidock.com/rails/v3.2.13/AbstractController/ViewPaths/ClassMethods/prepend_view_path