A view display.rhtml sees no controller state variables set in the corresponding display action. Why? -- fxn
Anything in your log file? On 2/19/06, Xavier Noria <fxn@hashref.com> 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 >-- Cheers, Luke Redpath www.lukreedpath.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060219/fdd22125/attachment.html
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
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
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. :) On 2/19/06, Sam Pohlenz <retrix@internode.on.net> wrote:> > 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 > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Cheers, Luke Redpath www.lukreedpath.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060219/35d1f4a1/attachment.html