ActiveRecord::RecordNotFound in Webpages#show_block

Showing app/views/webpages/_other_announcement_groups.html.haml where line #8 raised:

Couldn't find OtherAnnouncementGroup with ID=36

Extracted source (around line #8):

5:         Arhiv:
6:         - params[:year].blank? ? year = "trenutni" : year = params[:year]
7:         - unless params[:target].nil?
8:           - otherag = OtherAnnouncementGroup.find(params[:target])
9:           - year = otherag.year
10:         - all_years = OtherAnnouncementGroup.all_years.compact.unshift("trenutni")
11:         = select_tag :year, options_for_select(all_years, :selected => year), :id => "change_year",:onchange => "window.location.search = insertParamIntoUrl('year',$F('change_year'));"

Trace of template inclusion: app/views/webpages/show_block.html.haml

RAILS_ROOT: /home/comprojekt/apps/obcina_trbovlje

Application Trace | Framework Trace | Full Trace
/home/comprojekt/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/base.rb:1616:in `find_one'
/home/comprojekt/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/base.rb:1599:in `find_from_ids'
/home/comprojekt/.rvm/gems/ruby-1.8.7-head/gems/activerecord-2.3.8/lib/active_record/base.rb:619:in `find'
/home/comprojekt/apps/obcina_trbovlje/app/views/webpages/_other_announcement_groups.html.haml:8:in `_run_haml_app47views47webpages47_other_announcement_groups46html46haml_locals_object_other_announcement_groups'
/home/comprojekt/apps/obcina_trbovlje/app/views/webpages/show_block.html.haml:111:in `_run_haml_app47views47webpages47show_block46html46haml'

Request

Parameters:

{"parameterized_name"=>"ostali razpisi",
 "id"=>"36",
 "target"=>"36"}

Show session dump

Response

Headers:

{"Content-Type"=>"text/html",
 "Cache-Control"=>"no-cache"}