ActiveRecord::RecordNotFound in ContactsController#compose

Couldn't find Collection with 'id'=1235

Extracted source (around line #13):
11
12
13
14
15
16
              
if contact_params[:collection_id]
@collection = Collection.find contact_params[:collection_id]
elsif contact_params[:identifier_value]
@collection = Collection.where(:identifier_value => contact_params[:identifier_value])[0]
end

Rails.root: /home/app/data_archives

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"collection_id"=>"1235", "layout"=>"true", "org_unit_id"=>"1"}

Response

Headers:

None