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

# Rails 5.1 Blogs

BigBinary blog posts in the Rails 5.1 category.

## Posts

### Rails 5.1 stops loading all records on Model.all#inspect

[Rails 5.1 stops loading all records on Model.all#inspect](https://www.bigbinary.com/blog/do-no-load-all-records-on-activerecord-relation-inspect)

- Author: Mohit Natoo
- Published: November 14, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 limits number of records while calling inspect on
ActiveRecord::Relation object.

### New Syntax for HTML Tag helpers in Rails 5.1

[New Syntax for HTML Tag helpers in Rails 5.1](https://www.bigbinary.com/blog/new-syntax-for-tag-helpers-in-rails-5-1)

- Author: Prathamesh Sonpatki
- Published: August 23, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 introduces new shorter syntax for HTML tag helpers

### Rails 5.1 enhances ActiveSupport::TimeZone.country_zones

[Rails 5.1 enhances ActiveSupport::TimeZone.country_zones](https://www.bigbinary.com/blog/rails-5-1-returns-unmapped-timezones-from-activesupport-timezone-country_zones)

- Author: Narendra Rajput
- Published: July 18, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 now returns unmapped timezones from
ActiveSupport::TimeZone.country_zones with supplied TZInfo identifier instead of
empty response

### Rails 5.1 dropped jQuery dependency in default stack

[Rails 5.1 dropped jQuery dependency in default stack](https://www.bigbinary.com/blog/rails-5-1-has-dropped-dependency-on-jquery-from-the-default-stack)

- Author: Neeraj Singh
- Published: June 20, 2017
- Categories: Rails 5.1, Rails

jQuery dropped as a dependency from Rails 5.1 onwards and replaced by a vanilla
rails-ujs driver for the unobtrusive JavaScript helpers

### Rails 5.1 adds delegate_missing_to

[Rails 5.1 adds delegate_missing_to](https://www.bigbinary.com/blog/rails-5-1-adds-delegate-missing-to)

- Author: Neeraj Singh
- Published: May 30, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 has introduced \`Module#delegate_missing_to\` to keep decorators more
clearer

### Rails 5.1 adds support for limit in batch processing

[Rails 5.1 adds support for limit in batch processing](https://www.bigbinary.com/blog/rails-5-1-adds-support-for-limit-in-batch-processing)

- Author: Mohit Natoo
- Published: May 23, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 can now limit the number of records fetched for batch processing.

### Rails 5.1 doesn't share thread_mattr_accessor variable

[Rails 5.1 doesn't share thread_mattr_accessor variable](https://www.bigbinary.com/blog/rails-5-1-does-not-share-thread-mattr-accessor-variable-with-sub-class)

- Author: Mohit Natoo
- Published: May 16, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 now does not share the variable defined by thread_mattr_accessor with
subclass.

### Rails 5.1 introduced assert_changes and assert_no_changes

[Rails 5.1 introduced assert_changes and assert_no_changes](https://www.bigbinary.com/blog/rails-5-1-introduced-assert_changes-and-assert_no_changes)

- Author: Narendra Rajput
- Published: May 9, 2017
- Categories: Rails 5.1, Rails

The BigBinary team's lesson on introduced assert_changes and assert_no_changes
in Rails 5.1

### Forward ActiveRecord::Relation#count to Enumerable#count

[Forward ActiveRecord::Relation#count to Enumerable#count](https://www.bigbinary.com/blog/forwarding-active-record-relation-count-to-enumerable-count)

- Author: Rohit Arolkar
- Published: May 1, 2017
- Categories: Rails 5.1, Rails

Forward ActiveRecord::Relation#count to Enumerable#count if block given

### Rails 5.1 has introduced Date#all_day helper

[Rails 5.1 has introduced Date#all_day helper](https://www.bigbinary.com/blog/rails-5-1-has-introduced-date-all_day-helper)

- Author: Prathamesh Sonpatki
- Published: April 24, 2017
- Categories: Rails 5.1, Rails

Rails 5.1 has introduced a helper method for creating a range object covering
the whole day for given date

## Links

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