I have this in expense_controller.rb:
class ExpenseController < ApplicationController
It works fine, but let’s say I want to override scaffold’s list.
For some reason, just making list.rhtml in views\expense is enough, and
there’s no need to add
in expense_controller.rb. However, that’s not my real problem.
Now when I have this custom list action, and I want remove it, just
removing the list.rhtml won’t do it. Now there’s blank page, so
obviously it’s still using the list.rhtml although it can’t find it.
Only way to resume scaffold’s list is to restart Mongrel.
I am quite sure that this can’t be normal. Any ideas?
ps. I have the same problem with Instant Rails WEBrick.