Hi, it’s Claudio Baccigalupo. Let’s explore this week’s changes in the Rails codebase.
Add –reset option to bin/setup
Makes it easier to zero out a database and load seeds during development.
Add assert_in_body/assert_not_in_body
Lets test checking a response body for a piece of text without going through DOM manipulation.
Add a load hook for ActiveRecord::DatabaseConfigurations
Offers a way to use an initializer to register a database config handler before database tasks were defined.
Ensure all railties tests require strict_warnings
Prevents warnings from getting merged without being notified about them.
Sort schema cache columns and indexes per table in the cache file
Completes the…