NoMethodError in Pub#place

Showing /home/lonsea/lonsea/app/views/pub/_pcongress.haml where line #2 raised:

undefined method `short_name' for nil:NilClass

Extracted source (around line #2):

1
2
          
%li
=link_to(pcongress.name_in_place, :action => "org", :id => pcongress.organisation_id)

Trace of template inclusion: app/views/pub/place.haml

Rails.root: /home/lonsea/lonsea

Application Trace | Framework Trace | Full Trace
app/models/congress.rb:14:in `name_in_place'
app/views/pub/_pcongress.haml:2:in `_app_views_pub__pcongress_haml__1070743373068011939_70087901639920'
app/views/pub/place.haml:42:in `_app_views_pub_place_haml__392087159781711186_70087900452460'

Request

Parameters:

{"id"=>"2429"}

Response

Headers:

None