Skip to content

Commit

Permalink
Fix typo in the CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelfranca committed Jan 27, 2021
1 parent 458f19a commit 7368bbd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activerecord/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
#or
ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = '--no-defaults --skip-add-drop-table'
```

And also use it passing a hash, with one or more keys, where the key
is the adapter

```ruby
ActiveRecord::Tasks::DatabaseTasks.structure_dump_flags = {
mysql2: ['--no-defaults', '--skip-add-drop-table'],
postgres: '--no-tablespaces'
}
}
```

*Gustavo Gonzalez*
Expand Down Expand Up @@ -46,7 +46,7 @@
# => ActiveRecord::StrictLoadingViolationError
user = User.first
user.stict_loading!(false)
user.strict_loading!(false)
user.articles
# => #<ActiveRecord::Associations::CollectionProxy>
```
Expand Down

0 comments on commit 7368bbd

Please sign in to comment.