Rails

Rails 7 PostgreSQL Custom Enum Types

With Rails 7, use create_enum to add a new enum type and t.enum to add a column.

Master Rails Enums: A Complete Guide

A detailed guide on what enums are and how to create, configure, and use them in Ruby on Rails for cleaner, more efficient code

PostgreSQL data-types in Rails

With Rails, there are many built-in data types that PostgreSQL supports. It's a great addition to the developer's toolkit!

Rails Adds authenticate_by Method

Rails adds `authenticate_by` method that helps mitigate timing-based enumeration attacks.

Using jsbundling-rails Gem in Rails 7

JSBundling provides a flexible way of using different Javascript bundlers

Rails 7 GROUP BY and HAVING in Updates

With Rails 7, we can now combine GROUP_BY and HAVING clauses with a more complex update and delete queries.

Rails 7 Action Text attachment_tag_name

Rails 7 adds support for setting `config.action_text.attachment_tag_name` to replace the actiontext's default attachment HTML tag name to a custom string.

Rails 7 adds caching? and uncachable! helper

Starting with Rails 7, we can add caching? helper to check whether the current code path is being cached and uncacheable! helper to avoid fragment caching.

Rails 7 date_select :day_format Option

Now format how the day looks in a date select dropdown using `day_format`.

Rails 7 I18n translate Defaults

Provide fallback values to the translate method apart from those parts of the translation string.