---
title: "Rails 6.1 Blogs"
description: "BigBinary blog posts in the Rails 6.1 category."
canonical_url: "https://www.bigbinary.com/blog/categories/rails-6-1"
markdown_url: "https://www.bigbinary.com/blog/categories/rails-6-1.md"
---

# Rails 6.1 Blogs

BigBinary blog posts in the Rails 6.1 category.

## Posts

### Rails 6.1 adds invert_where method

[Rails 6.1 adds invert_where method](https://www.bigbinary.com/blog/rails-6-1-adds-invert_where)

- Author: Chimed Palden
- Published: May 4, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds invert_where method

### Rails 6.1 adds in: option to validate numeric ranges

[Rails 6.1 adds in: option to validate numeric ranges](https://www.bigbinary.com/blog/rails-6-1-adds-validate-numericality-in-range-option)

- Author: Akanksha Jain
- Published: April 14, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds support for validating numeric values that fall within a specific
range using the \`in:\` option

### Rails 6.1 adds delegated_type to ActiveRecord

[Rails 6.1 adds delegated_type to ActiveRecord](https://www.bigbinary.com/blog/rails-6-1-adds-delegated-type-to-active-record)

- Author: Akhil Gautam
- Published: April 6, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds delegated_type to ActiveRecord

### Rails 6.1 adds nulls_first and nulls_last to Arel

[Rails 6.1 adds nulls_first and nulls_last to Arel](https://www.bigbinary.com/blog/rails-6-1-adds-nulls-first-and-nulls-last-to-arel)

- Author: Berin Larson
- Published: March 9, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds nulls_first and nulls_last methods to Arel for PostgreSQL

### Rails 6.1 adds support for PostgreSQL interval data type

[Rails 6.1 adds support for PostgreSQL interval data type](https://www.bigbinary.com/blog/rails-6-1-adds-postgresql-interval-data-type)

- Author: Akhil Gautam
- Published: January 26, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds support for PostgreSQL interval data type

### Rails 6.1 allows per environment Active Storage config

[Rails 6.1 allows per environment Active Storage config](https://www.bigbinary.com/blog/rails-6-1-allows-per-environment-configuration-support-for-active-storage)

- Author: Shashank
- Published: January 20, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 allows per environment configuration support for Active Storage

### Rails 6.1 adds support for belongs_to to has_many inversing

[Rails 6.1 adds support for belongs_to to has_many inversing](https://www.bigbinary.com/blog/rails-6-1-adds-support-for-belongs_to-to-has_many-inversing)

- Author: Siddharth Shringi
- Published: January 19, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds support for belongs_to to has_many inversing

### Database-specific rake tasks for multi-database apps

[Database-specific rake tasks for multi-database apps](https://www.bigbinary.com/blog/rails-6-1-adds-additional-database-specific-tasks)

- Author: Amit Gupta
- Published: January 13, 2021
- Categories: Rails 6.1, Rails

Additional database-specific rake tasks for multi-database users

### Rails 6.1 adds strict_loading to catch lazy loading

[Rails 6.1 adds strict_loading to catch lazy loading](https://www.bigbinary.com/blog/rails-6-1-adds-strict_loading-to-warn-lazy-loading-associations)

- Author: Dinesh Panda
- Published: January 6, 2021
- Categories: Rails, Rails 6.1

Rails 6.1 adds strict_loading to warn lazy loading associations

### Rails 6.1 allows default_scope to be run on all queries

[Rails 6.1 allows default_scope to be run on all queries](https://www.bigbinary.com/blog/rails-6-1-allows-default_scope-to-be-run-on-all-queries)

- Author: Unnikrishnan KP
- Published: December 29, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 allows default_scope to be run on all queries

### Rails 6.1 adds where.associated for association presence

[Rails 6.1 adds where.associated for association presence](https://www.bigbinary.com/blog/rails-6-1-adds-where-associated-to-check-association-presence)

- Author: Nithin Krishna
- Published: December 18, 2020
- Categories: Rails, Rails 6.1

Rails 6.1 adds where.associated to check association presence

### Rails 6.1 raises on impossible camelcase inflections

[Rails 6.1 raises on impossible camelcase inflections](https://www.bigbinary.com/blog/rails-6-1-raises-error-for-impossible-camelcase-inflections)

- Author: Yedhin Kizhakkethara
- Published: December 15, 2020
- Categories: Rails, Rails 6.1

Rails 6.1 raises an error if camelcase inflection is not possible with Rails
generator

### Rails 6.1 allows associations to be destroyed asynchronously

[Rails 6.1 allows associations to be destroyed asynchronously](https://www.bigbinary.com/blog/rails-6-1-allows-associations-to-support-destroy_async-option-with-dependent-key)

- Author: Srijan Kapoor
- Published: December 8, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 allows associations to support destroy_async option with dependent key

### Rails 6.1 adds values_at attribute method for Active Record

[Rails 6.1 adds values_at attribute method for Active Record](https://www.bigbinary.com/blog/rails-6-1-adds-values_at-attribute-method-for-active-record)

- Author: Chetan Gawai
- Published: November 17, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds values_at attribute method for Active Record

### Skipping the test database with SKIP_TEST_DATABASE

[Skipping the test database with SKIP_TEST_DATABASE](https://www.bigbinary.com/blog/database-tasks-can-skip_test_database-with-an-environment-variable)

- Author: Sandip Mane
- Published: October 27, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds ability to skip modifying test database in database tasks with an
environment variable.

### Rails 6.1 supports ORDER BY in batch processing

[Rails 6.1 supports ORDER BY in batch processing](https://www.bigbinary.com/blog/rails-6-1-supports-order-desc-for-find_each-find_in_batches-and-in_batches)

- Author: Sagar Patil
- Published: October 22, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 supports order DESC for find_each, find_in_batches, and in_batches

### Rails 6.1 deprecates structure:dump/load rake tasks

[Rails 6.1 deprecates structure:dump/load rake tasks](https://www.bigbinary.com/blog/rails-6-1-deprecates-rails-db-structure-dump)

- Author: Chetan Gawai
- Published: September 22, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 deprecates rails db:structure:dump and rails db:structure:load

### Rails 6.1 adds --minimal option support

[Rails 6.1 adds --minimal option support](https://www.bigbinary.com/blog/rails-6-1-adds-minimal-option-support)

- Author: Sandip Mane
- Published: September 8, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds --minimal support to create bare minimum app

### Rails 6.1 raises on rollback with multiple databases

[Rails 6.1 raises on rollback with multiple databases](https://www.bigbinary.com/blog/rails-6-1-raises-on-db-rollback-for-multiple-database-applications)

- Author: Srijan Kapoor
- Published: August 12, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 raises on db:rollback for multiple database applications

### Rails 6.1 creates abstract classes in multiple database mode

[Rails 6.1 creates abstract classes in multiple database mode](https://www.bigbinary.com/blog/rails-6-1-automatically-generates-abstract-class-when-using-multiple-databases)

- Author: Akhil Gautam
- Published: August 4, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 automatically generates abstract class when generating scaffold in
another database

### Rails 6.1 deprecates exit statements in transactions

[Rails 6.1 deprecates exit statements in transactions](https://www.bigbinary.com/blog/rails-6-1-deprecates-the-use-of-return-break-or-throw-to-exit-a-transaction-block)

- Author: Sandip Mane
- Published: August 4, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 deprecates the use of return, break or throw to exit a transaction
block

### Rails 6.1 adds annotate_rendered_view_with_filenames

[Rails 6.1 adds annotate_rendered_view_with_filenames](https://www.bigbinary.com/blog/rails-6-1-adds-annotate_rendered_view_with_filenames-to-annotate-html-output)

- Author: Akhil Gautam
- Published: July 29, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds ActionView::Base.annotate_rendered_view_with_filenames to
annotate HTML output

### Rails 6.1 allows a default value for enum attributes

[Rails 6.1 allows a default value for enum attributes](https://www.bigbinary.com/blog/rails-6-1-allows-enums-attributes-to-have-default-value)

- Author: Abhay Nikam
- Published: July 21, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 allows enums attributes to configure the default value

### Rails 6.1 adds support for where with a comparison operator

[Rails 6.1 adds support for where with a comparison operator](https://www.bigbinary.com/blog/rails-6-1-adds-support-for-where-with-comparison-operator)

- Author: Abhay Nikam
- Published: July 14, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 adds support for where with a comparison operator

### Rails 6.1 tracks Active Storage variant in the database

[Rails 6.1 tracks Active Storage variant in the database](https://www.bigbinary.com/blog/rails-6-1-tracks-active-storage-variant-in-the-database)

- Author: Abhay Nikam
- Published: June 30, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 tracks Active Storage variant in the database

### Rails 6.1 introduces class_names helper

[Rails 6.1 introduces class_names helper](https://www.bigbinary.com/blog/rails-6-1-introduces-class_names-helper)

- Author: Abhay Nikam
- Published: February 4, 2020
- Categories: Rails 6.1, Rails

Rails 6.1 introduces class_names helper to conditionally add CSS classes.

### Rails 6.1 adds \*\_previously_was attribute methods

[Rails 6.1 adds \*\_previously_was attribute methods](https://www.bigbinary.com/blog/rails-6-1-adds-_previously_was-attribute-methods)

- Author: Abhay Nikam
- Published: December 3, 2019
- Categories: Rails 6.1, Rails

Rails 6.1 adds \*\_previously_was attribute methods for dirty tracking

## Links

- [Human page](https://www.bigbinary.com/blog/categories/rails-6-1)
