refinery/refinerycms — pull request #2030 by allomov (2012-11-15 16:22:58+00:00)
Title: @valid_template_whitelist is empty when using array of symbols as view_template_whitelist  option

[This article](http://refinerycms.com/guides/using-custom-view-or-layout-templates) says that I can use an array containing either string or symbol as ```view_template_whitelist```. To find out what view_templates can be found is used intersection ```&``` between ```Refinery::Pages.view_template_whitelist``` and ```Refinery::Pages.valid_templates('app', 'views', '{pages,refinery/pages}', '*html*')```, the last one returns array of string and if you use & the result will return empty array.
Here is simple example to illustrate this:
```ruby
[:simple, :array] & ['simple', 'array'] # => []
```