README.md in active_archive-3.0.0 vs README.md in active_archive-4.0.0
- old
+ new
@@ -9,11 +9,11 @@
## Installation
Add this line to your application's Gemfile:
```ruby
-gem "active_archive"
+gem 'active_archive'
```
And then execute:
$ bundle
@@ -35,15 +35,13 @@
* dependent_record_window
`rails generate active_archive:install` will generate the following `active_archive.rb` file:
```ruby
-# config/initalizers/active_archive.rb
+# Path: ../config/initalizers/active_archive.rb
-ActiveArchive.configure do |config|
- # option = default
-
- config.all_records_archivable = false
+ActiveArchive::Settings.configure do |config|
+ config.all_records_archivable = false
config.dependent_record_window = 3.seconds
end
```
## Methods