Is "display" a reserved name of some sort?


#1

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

– fxn


#2

Anything in your log file?


#3

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


#4

Xavier N. wrote:

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

– fxn


Rails mailing list
removed_email_address@domain.invalid
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


#5

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: