Skip to content

Fix issue with #insert_before and #insert_after#600

Merged
jc00ke merged 1 commit intosidekiq:masterfrom
jackrg:master
Dec 28, 2012
Merged

Fix issue with #insert_before and #insert_after#600
jc00ke merged 1 commit intosidekiq:masterfrom
jackrg:master

Conversation

@jackrg
Copy link
Contributor

@jackrg jackrg commented Dec 25, 2012

Middleware chain corrupt results from using #insert_before or #insert_after. #delete_if returns the chain, not the entry deleted. Changed to use #index followed by #delete_at instead.

…r after

#delete_if returns the chain, not the entry deleted.  Changed to use #index followed by #delete_at.
jc00ke added a commit that referenced this pull request Dec 28, 2012
Fix issue with #insert_before and #insert_after
@jc00ke jc00ke merged commit 65e1a7e into sidekiq:master Dec 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants