# Is "display" a reserved name of some sort?

**URL:** <https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978>\
**Category:** Rails\
**Created:** [February 19, 2006, 2:40am UTC](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978 "2006-02-19T02:40:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [February 19, 2006, 2:40am UTC](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978/1 "2006-02-19T02:40:04Z")

</div>

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

– fxn

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [February 19, 2006, 2:52am UTC](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978/2 "2006-02-19T02:52:11Z")

</div>

Anything in your log file?

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [February 19, 2006, 3:04am UTC](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978/3 "2006-02-19T03:04:27Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [February 19, 2006, 3:16am UTC](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978/4 "2006-02-19T03:16:29Z")

</div>

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](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

---

<div class="post-metadata">

**Author:** ![fxn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/77aa72/32.png) [@fxn](https://www.ruby-forum.com/u/fxn)\
**Post date:** [February 19, 2006, 3:22am UTC](https://www.ruby-forum.com/t/is-display-a-reserved-name-of-some-sort/53978/5 "2006-02-19T03:22:34Z")

</div>

[http://wiki.rubyonrails.org/rails/pages/ReservedWords](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. 🙂
