I recently start working on rails. I am writing a plugin for redmine,
right now I am in the start phase. I successfully got the menu display
as “custom reports” but problem starts when I click the cutom reports
menu. The error generated is:
“The page you were trying to access doesn’t exist or has been removed.”
Session ID: acbd4b9697b41f837ef990b0e2e0e807
Parameters: {“action”=>“index”, “controller”=>“reports”}
Rendering template within layouts/base
Rendering common/404 (404)
Filter chain halted as [:find_project] rendered_or_redirected.
Completed in 0.03096 (32 reqs/sec) | Rendering: 0.02767 (89%) | DB:
0.00105 (3%) | 404 Not Found [http://ferrari/reports]
I cant understand why it is redirected to find_project where as I didn’t
use this action anywhere.
It isn’t saying that you are are redirected to find_project.
It is saying that there is a before filter called find_project that
rendered or redirected.
Session ID: acbd4b9697b41f837ef990b0e2e0e807
Parameters: {“action”=>“index”, “controller”=>“reports”}
Rendering template within layouts/base
Rendering common/404 (404)
Filter chain halted as [:find_project] rendered_or_redirected.
Completed in 0.03096 (32 reqs/sec) | Rendering: 0.02767 (89%) | DB:
0.00105 (3%) | 404 Not Found [http://ferrari/reports]
I cant understand why it is redirected to find_project where as I didn’t
use this action anywhere.
It isn’t saying that you are are redirected to find_project.
It is saying that there is a before filter called find_project that
rendered or redirected.
Fred
Ok. Can you tell me how to stop it, I mean the automatic call to
find_project because I didn’t want it. Still searching on google and
forums but of no use.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.