Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
This file is intended to be modified using the [`changelog`](https://github.com/cucumber/changelog) command-line tool.

## [Unreleased]
### Removed
- Stop printing a warning about `config.cache_classes` being set to `false`

## [4.0.0] - 2025-09-01
### Changed
Expand Down
10 changes: 0 additions & 10 deletions lib/cucumber/rails.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,6 @@
require File.expand_path("#{ENV.fetch('RAILS_ROOT')}/config/environment")
require 'cucumber/rails/action_dispatch'
require 'rails/test_help'

unless Rails.application.config.cache_classes || defined?(Spring)
warn <<~MESSAGE
WARNING: You have set Rails' config.cache_classes to false (Spring needs cache_classes set to false).
This is known to cause problems with database transactions.

Set config.cache_classes to true if you want to use transactions.
MESSAGE
end

require 'cucumber/rails/world'
require 'cucumber/rails/hooks'
require 'cucumber/rails/capybara'
Expand Down