You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a radiant site running ruby 1.9.x we were unable to filter the assets by images in the admin interface. The error was:
NoMethodError (undefined method `any?' for "image":String):
vendor/bundle/ruby/1.9.1/gems/radiant-clipped-extension-1.1.1/app/controllers/admin/assets_controller.rb:13:in `index'
The issue appears to be the change from 1.8.7 which no longer allows you to enumerate strings. The ruby brain sitting next to me said that his untested fix would be to change line 10 in assets_controller.rb to:
@types = Array(params[:filter] || [])
My fix was to downgrade ruby for the moment.
The text was updated successfully, but these errors were encountered:
On a radiant site running ruby 1.9.x we were unable to filter the assets by images in the admin interface. The error was:
The issue appears to be the change from 1.8.7 which no longer allows you to enumerate strings. The ruby brain sitting next to me said that his untested fix would be to change line 10 in assets_controller.rb to:
My fix was to downgrade ruby for the moment.
The text was updated successfully, but these errors were encountered: