‘display’ is a reserved action in Rails

Although it is not currently mentioned in the reserved words page, “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.

You must be logged in to post a comment.