Displaying 1 result from an estimated 1 matches for "usr_list".
Did you mean:
user_list
2006 Apr 06
3
sortable list not saving to database
...uot;>
<% @user_list.tasks.each do |task| -%>
<li id="item_<%= task.id %>">
<%= task.task_name %>
</li>
<% end %>
</ul>
<%= sortable_element ''user-list'',
:url => { :action => ''sort'', :id => @usr_list },
:complete => visual_effect(:highlight, ''user-list'')
%>
everything seems like it works great... until i refresh the screen and
see that everything is back to the way it was. i look in the database,
and sure enough... nothing has changed. did i do something wrong?
--...