Hello everyone! This is Roque bringing you the latest news from the Rails world.
This release includes Active Storage, a new framework provided by Rails to make it easier to upload and process files.
24 people contributed to Rails the past week! If you’d like to join them, why not check out the list of open issues?
The operator classes identify database operators to be used by the index for the columns. You can assign the same operator to all columns, or not. It currently only supports PostgreSQL.
Normally, PostgresSQL verifies that all rows in a table satisfy its foreign keys constraints. With this option, you can create these constraints without the overhead of checking if they are valid.
The helper creates a link tag with the
preload keyword that allows you to basically define resources that pages will need very soon after loading. In addition, Rails will send HTTP2 Early Hints if the proxy server supports it, helping the fetch process.
An error will be raised when defining scopes with names already defined by
ActiveRecord::Relation instance methods.