Re: Problems with link_to_remote

Frederick Cheung
2008-01-24T10:20:24Z

On 24 Jan 2008, at 09:59, user splash wrote:

>
> Keynan Pratt wrote:
>> loop this?
>
> Yup. I have tried using session. Like this:
>
> <% session[:count] ||= 1 %>
>
> Item <%=
session[:count]
> %>
> <%= text_field :item, :item
%>
>
> <% session[:count] += 1 %>
>
>
> It is the right way?

Almost certainly not. What are you looping over?

Fred
>
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >