Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add transaction spec #14

Merged
merged 1 commit into from
Nov 6, 2015
Merged

Add transaction spec #14

merged 1 commit into from
Nov 6, 2015

Conversation

hirocaster
Copy link
Owner

No description provided.

raise ActiveRecord::Rollback
end

after_record_count = model.all_shards.map { |shard| shard.count }.reduce(:+)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style/SymbolProc: Pass &:count as an argument to map instead of a block.

hirocaster added a commit that referenced this pull request Nov 6, 2015
@hirocaster hirocaster merged commit ba39b65 into master Nov 6, 2015
@hirocaster hirocaster deleted the block-test branch March 10, 2016 09:15
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