Chris:
My bad. My changes in the method resources_controller_for were not
picked up until I restart the server. Once I restart the server
everything work fine as I intended. Another interesting observatino
is, although I changed all the requrie to require_dependency so that I
can user confi.reload_plugins = true in environment.rb so that my
changes will reflect immediately without restarting the server, any
change to the files except init.rb and resources_controller.rb were
being picked up. I dont quite understand why the changes in those two
files were not picked up. I understand why init.rb as rails loads only
once these files, but dont understand why resources_controller.rb
file. Trying to investigate it with some refactoring, will let you
know my findings, unless you already know and would like to share and
save me some time. :)
-Satynos