Skip to content

Commit

Permalink
Fix warnings when running tests in Rails 5 scope (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuczynski authored Jul 24, 2019
1 parent 4294b18 commit 3245da7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
* Get rid of activesupport dependency ([#230](https://github.com/railsconfig/config/pull/230))
* Ignore .local files in test environment ([#135](https://github.com/railsconfig/config/issues/135), [#233](https://github.com/railsconfig/config/pull/233))

### Bug fixes

* Fix warnings when running tests in Rails 5 scope ([#240](https://github.com/railsconfig/config/issues/240)

## 2.0.0

### BREAKING CHANGES
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
Rails.application.config.active_record.belongs_to_required_by_default = true

# Do not halt callback chains when a callback returns false. Previous versions had true.
ActiveSupport.halt_callback_chains_on_return_false = false
# ActiveSupport.halt_callback_chains_on_return_false = false

# Configure SSL options to enable HSTS with subdomains. Previous versions had false.
Rails.application.config.ssl_options = { hsts: { subdomains: true } }

# Fix warning
Rails.application.config.active_record.sqlite3.represent_boolean_as_integer = true

0 comments on commit 3245da7

Please sign in to comment.