27 posts on Rails 6.1.
View the blog →2021
- Rails 6.1 adds invert_where method
- Rails 6.1 adds in: option to validate numeric ranges
- Rails 6.1 adds delegated_type to ActiveRecord
- Rails 6.1 adds nulls_first and nulls_last to Arel
- Rails 6.1 adds support for PostgreSQL interval data type
- Rails 6.1 allows per environment Active Storage config
- Rails 6.1 adds support for belongs_to to has_many inversing
- Database-specific rake tasks for multi-database apps
- Rails 6.1 adds strict_loading to catch lazy loading
2020
- Rails 6.1 allows default_scope to be run on all queries
- Rails 6.1 adds where.associated for association presence
- Rails 6.1 raises on impossible camelcase inflections
- Rails 6.1 allows associations to be destroyed asynchronously
- Rails 6.1 adds values_at attribute method for Active Record
- Skipping the test database with SKIP_TEST_DATABASE
- Rails 6.1 supports ORDER BY in batch processing
- Rails 6.1 deprecates structure:dump/load rake tasks
- Rails 6.1 adds --minimal option support
- Rails 6.1 raises on rollback with multiple databases
- Rails 6.1 deprecates exit statements in transactions
- Rails 6.1 creates abstract classes in multiple database mode
- Rails 6.1 adds annotate_rendered_view_with_filenames
- Rails 6.1 allows a default value for enum attributes
- Rails 6.1 adds support for where with a comparison operator
- Rails 6.1 tracks Active Storage variant in the database
- Rails 6.1 introduces class_names helper