次のように呼び出す必要があるルートがあります。
/images/get_subcollections.json?id=1234
ルートファイルにこれがあります:
resources :images do
    collection do
      get 'get_subcollections'
    end
  end
コントローラーにこれがあります:
def get_subcollections
    collection = Collection.find(params[:id])
    respond_to do |format|
      format.json { render :layout =>  false, :json => collection.to_json(:methods=>:get_subcollections) }
    end
  end
URL を呼び出すと、アプリはそこに留まります。リクエストはログに記録されません。何か案は?ありがとう!