Is "display" a reserved name of some sort?

A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?

– fxn

Anything in your log file?

On Feb 19, 2006, at 2:51, Luke R. wrote:

Anything in your log file?

I actually wrote a minimal application to debug the problem. The log
file does not show anything suspicious, what’s strange is what it
does not show. I put a logger.info call in the action that leaves
no trace, as if the very “display” action is being skipped albeit the
template is being rendered (I know that because its straight HTML is
seen).

– fxn

Xavier N. wrote:

A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?

– fxn


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails

I experienced the same problem, and couldn’t find out anything definite.
I assumed it was reserved and just switched to one of either view or
show.

-Sam

http://wiki.rubyonrails.org/rails/pages/ReservedWords

See the section “Other names that have been reported to cause trouble:”

So I guess thats your (albeit not very detailed) explanation. :slight_smile: