benwbrum / fromthepage-rails_3

GNU Affero General Public License v3.0
0 stars 0 forks source link

read_work Error #5

Closed emacadie closed 11 years ago

emacadie commented 11 years ago

http://localhost:3000/display/read_work?ol=c_work_list_work&work_id=2

Clicking any of the subjects on the right causes an issue.

http://localhost:3000/display/read_work? Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id

Some of stack trace: app/controllers/display_controller.rb:25:in `read_work'

Parameters: {"update"=>"cat_5", "url"=>{"action"=>"expand_category_for_work", "category_id"=>"5", "controller"=>"category", "ol"=>"cat_nav_catlink", "work_id"=>"2"}}

emacadie commented 11 years ago

This one is closed. The param :work_id was nested inside :url.