Hi Friends,
I am new to ROR.I have implemented sorting by Ajax drag and drop and
interaction with database.
Working fine but if i sort records rapidly, getting nil point exception.
I am pasting the sortable list code.
<%= sortable_element(''sortable_charts'',
:update => ''assigned_chart_files'',
:url => {:action => :update_positions , :quiz_id
=> @quiz.id },
:before =>
"Element.show(''spinner'')",
:success =>
"Element.hide(''spinner'')")%>
Also tryed with :frequecy => 3 or 4,or 2 but ssame error.
Nil point error is getting when i sort records rapidly.Normally it is
working fine.
Can u give any advice?
I hope i wil get solution..
Regards,
-Karni
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---