'display' is a Reserved Action in Rails

Posted: September 18, 2008. Tags: Rails

Although it is not currently mentioned in the reserved words page (http://wiki.rubyonrails.org/rails/pages/ReservedWords"), "display" is a reserved word as far as controller actions are concerned.  Try it.  With Rails 2.1.1 you can have an action called "displa" but not "display".  Ruby Object#display can be readily overwritten, but I expect Rails is being overly zealous in it's extermination of the default object environment.