magiclabs/alchemy_cms — Issue #110: Dragndrop sorting pictures raises nil error
Author: tvdeyen
Created: 2011-12-08 12:21:21+00:00
State: open

```
+++++++++ Error: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each +++++++++++++

/Users/tvd/.rvm/gems/ruby-1.9.3-p0@alchemy/bundler/gems/alchemy_cms-f62397d1e819/app/controllers/alchemy/admin/contents_controller.rb:37:in `order'
/Users/tvd/.rvm/gems/ruby-1.9.3-p0@alchemy/gems/actionpack-3.1.3/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/Users/tvd/.rvm/gems/ruby-1.9.3-p0@alchemy/gems/actionpack-3.1.3/lib/abstract_controller/base.rb:167:in `process_action'
/Users/tvd/.rvm/gems/ruby-1.9.3-p0@alchemy/gems/actionpack-3.1.3/lib/action_controller/metal/rendering.rb:10:in `process_action'
/Users/tvd/.rvm/gems/ruby-1.9.3-p0@alchemy/gems/actionpack-3.1.3/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
/Users/tvd/.rvm/gems/ruby-1.9.3-p0@alchemy/gems/activesupport-3.1.3/lib/active_support/callbacks.rb:479:in `_run__2410957720928646075__process_action__298841787093576672__callbacks'
/U
```