文件名称:隔离器:检测数据库事务中的非原子交互
文件大小:52KB
文件格式:ZIP
更新时间:2024-02-26 12:08:42
rails activerecord developer-tools testing-tools hacktoberfest
隔离器 检测数据库事务中的非原子交互。 例子: # HTTP calls within transaction User . transaction do user = User . new ( user_params ) user . save! # HTTP API call PaymentsService . charge! ( user ) end #=> raises Isolator::HTTPError # background job User . transaction do user . update! ( confirmed_at : Time .
【文件预览】:
isolator-master
----.gitignore(143B)
----.gem_release.yml(54B)
----.rspec(13B)
----gemfiles()
--------rubocop.gemfile(95B)
--------rails6.gemfile(87B)
--------rails5.gemfile(97B)
--------jruby.gemfile(144B)
--------activerecord42.gemfile(99B)
--------railsmaster.gemfile(100B)
----bin()
--------setup(131B)
--------console(89B)
----.rubocop.yml(550B)
----.mdlrc(25B)
----CHANGELOG.md(3KB)
----LICENSE.txt(1KB)
----.github()
--------PULL_REQUEST_TEMPLATE.md(500B)
--------ISSUE_TEMPLATE()
--------workflows()
----spec()
--------isolator()
--------integrations()
--------isolator_spec.rb(401B)
--------support()
--------spec_helper.rb(1KB)
----README.md(9KB)
----lib()
--------isolator()
--------isolator.rb(6KB)
----RELEASING.md(1KB)
----Gemfile(361B)
----.rubocop-md.yml(181B)
----isolator.gemspec(2KB)
----Rakefile(391B)