jsoaresgeral/simple_cms — Issue #1: Called id for nil on sections and pages controllers, line 14 in 'list'
Author: jsoaresgeral
Created: 2012-01-27 03:45:55+00:00
State: open

Started GET "/sections/list" for 127.0.0.1 at 2012-01-27 03:32:23 +0000
Processing by SectionsController#list as */*
Completed 500 Internal Server Error in 1ms

RuntimeError (Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id):
app/controllers/sections_controller.rb:14:in `list'

Rendered /home/jsoares/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (8.9ms)
Rendered /home/jsoares/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
Rendered /home/jsoares/.rvm/gems/ruby-1.9.3-p0/gems/actionpack-3.2.0.rc1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (14.7ms)