On Fri, Dec 23, 2011 at 5:18 PM, Michael Pavling <[email protected]> wrote:

> On 23 December 2011 11:45, sachin kewale <[email protected]> wrote:
> > thanks Michael for responding,my question is how that http session is
> set in
> > ruby on rail ?
> > because in following code '@session' is coming nil :
> >
> >  <%if @session != nil%>
>
> As I said.... "session" is *not* an instance variable. So remove the "@"
> sign...
>
> --
> 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.
>
>

thanks Michael,really thanks it solved my problem.

--

-- 
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.

Reply via email to