Rails prepend_view_path
Good
class ApplicationController < ActionController::Base
prepend_view_path 'x/y/z/views'
end
Bad
# config/initializer/view_path.rb
ApplicationController.prepend_view_path 'x/y/z/views'
In development mode (Rails 3.x) this doesn't seem to work under some circumstances, i.e. the prepended path is lost after Rails' reloads after you modify certain files.