def version
begin
old_relation = OldRelation.find(:first, :conditions => {:id => params[:id], :version => params[:version]} )
def version
begin
old_relation = OldRelation.find(:first, :conditions => {:id => params[:id], :version => params[:version]} )
rescue ActiveRecord::RecordNotFound
render :nothing => true, :status => :not_found
rescue
rescue ActiveRecord::RecordNotFound
render :nothing => true, :status => :not_found
rescue