Forum: Ruby on Rails is "display" a reserved name of some sort?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
7223c62b7310e164eb79c740188abbda?d=identicon&s=25 Xavier Noria (Guest)
on 2006-02-19 02:40
(Received via mailing list)
A view display.rhtml sees no controller state variables set in the
corresponding display action. Why?

-- fxn
1e99128ebac5ca41c91940291d315332?d=identicon&s=25 Luke Redpath (Guest)
on 2006-02-19 02:52
(Received via mailing list)
Anything in your log file?
7223c62b7310e164eb79c740188abbda?d=identicon&s=25 Xavier Noria (Guest)
on 2006-02-19 03:04
(Received via mailing list)
On Feb 19, 2006, at 2:51, Luke Redpath 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
C77b15d1fd19b42984c35cfe3260a1d5?d=identicon&s=25 Sam Pohlenz (Guest)
on 2006-02-19 03:16
(Received via mailing list)
Xavier Noria wrote:
> A view display.rhtml sees no controller state variables set in the
> corresponding display action. Why?
>
> -- fxn
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> 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
1e99128ebac5ca41c91940291d315332?d=identicon&s=25 Luke Redpath (Guest)
on 2006-02-19 03:22
(Received via mailing list)
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. :)
This topic is locked and can not be replied to.