ActiveRecord::RecordNotFound in TradeObjectsController#show

Couldn't find TradeObject with 'id'=10133

Extracted source (around line #1184):
1182
1183
1184
1185
1186
1187
              
def show
t_o = TradeObject.find(params[:id])
t= t_o.trade_object_stat_datum
if (t.nil?)
t = TradeObjectStatDatum.create(numb_of_thumb_views:0, num_of_views: 0, trade_object_id: params[:id])

Rails.root: /opt0/ProjectsDisks/Imperia/Imperia

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"id"=>"10133"}

Response

Headers:

None