Re: Problems with link_to_remote

user splash
2008-01-24T09:59:18Z

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?