Brendon Muir

Results 265 comments of Brendon Muir

My `c` abilities are completely beginner but I could only get this to execute to completion by settings a value for: `byte pollBusy = msb & 0x80;` If I just...

This was fixed with https://github.com/rails/rails/pull/26216 thank goodness! I found that ```yaml production: secret_key_base: ``` failed because the ENV wasn't set in time.

Hi @robypez, thanks for raising an issue. We'll need more information I'm afraid. Give us what you're executing and what you expect to have happen.

Thanks @robypez, are you able to replicate this problem in the console? It'd be good to see the console commands. There might be some double-saving going on somewhere? Acts As...

Ok. I assume you have some kind of API backend that rails is providing? What about the code from this. I really need to know what is being run in...

@axos88, You don't need to shuffle things around to insert or move an item to a position, just set the new position for the item and `acts_as_list` will move things...

@robypez, I suspect it's this line: ``` skip_callback :destroy, :after, :decrement_positions_on_lower_items ``` `decrement_positions_on_lower_items` helps eliminate the gap in several scenarios. Try removing that skip callback.

Hi @axos88, you haven't shown me your controller code so I can't commend on how you're doing your reordering. Give me a look if you want. There are two ways...

Thanks for the extra detail @axos88, on paper it should work. Could you provide one more bit of information: What are the positions of the items after each step in...

I'm wondering if it's because the list items themselves aren't being reloaded after each `insert_at`? They'll still think they have their old position, so when you subsequently change their position,...