Hi Colin, Sorry for the email clutter. I am actually working on jRuby on Rails. And the organisation I work in allows only the approved gems to be installed. However I could track the nil value from the development log file. Thanks for the help.
Regards Chandrika On Mar 3, 6:28 pm, Colin Law <[email protected]> wrote: > On 3 March 2011 10:47, Chandu80 <[email protected]> wrote: > > > Hi, > > By the way could you not top post please, it makes it difficult to > follow the thread. Insert your reply at appropriate point(s) in > previous message. Thanks > > > I also tried <p>@<%=h @posted_by_name.inspect %>:</p> and it gave > > > @nil: > > In that case, obviously, @posted_by_name is nil. What did you see > when you used ruby-debug to break into the controller code? > > Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

