Friday, March 4, 2011

[Rails] Re: Show a value in view

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 <clan...@googlemail.com> wrote:
> On 3 March 2011 10:47, Chandu80 <chandu.she...@gmail.com> 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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate