You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have an array of ActiveRecord Object and position. I need to update position of each AR object by iterating an array.
Problem when updating first AR object , it changes the position of all other positions and so. I end up doing via update_column but i have callbacks that needs to be trigger.
Is there any way to update position without reordering an position of other AR object at the same time needs to trigger callbacks.
Note:: I am using acts_as_list (0.4.0)
The text was updated successfully, but these errors were encountered:
I have an array of ActiveRecord Object and position. I need to update position of each AR object by iterating an array.
Problem when updating first AR object , it changes the position of all other positions and so. I end up doing via update_column but i have callbacks that needs to be trigger.
Is there any way to update position without reordering an position of other AR object at the same time needs to trigger callbacks.
Note:: I am using acts_as_list (0.4.0)
The text was updated successfully, but these errors were encountered: