rails icon indicating copy to clipboard operation
rails copied to clipboard

Ruby on Rails

Results 459 rails issues
Sort by recently updated
recently updated
newest added

### Summary [change to documentation only] I've attempted to provide some more comprehensive documentation by listing the databases that **do** support CTEs. In creating the list, I've included those databases...

activerecord

### Summary Before we load an association for the first time, we can preload the association. This will eliminate most standard N+1 queries in Rails apps. We do this by...

activerecord

### Summary The schema dump format (Ruby/SQL) can currently only be set globally, either via setting `ActiveRecord.schema_format` or by setting `ENV['SCHEMA_FORMAT']`. Thanks to #43530 we can set the dump _filename_,...

activerecord

As noted in https://github.com/rails/rails/pull/44495, since Ruby 3.0, common exceptions like NoMethodError now include the full inspect value in their message, regardless of size. That helps give control over the object's...

actionpack
activemodel
activerecord
activesupport
railties
actionview
actioncable
actiontext

Change `ActionController::Base` -> `ApplicationController`, on the usage example.

activerecord

I have a Rails API serving a React SPA. It works perfect but I had to do a modification to use ActiveStorage's direct uploads. The problem appears when trying to...

activestorage

### Summary This is to revive #40251. For PostgreSQL, the migrator should use both database and schema when creating a lock so concurrent migrations can be executed across schemas (e.g....

activerecord

> Sets readonly attributes for the returned relation. The current documentation gives the impression that it can manipulate `attr_readonly`.

activerecord

The next step in building out active record dynamic includes and the new load tree debug view as proposed in https://github.com/rails/rails/pull/45071 this build on the load tree from https://github.com/rails/rails/pull/45161 and...

activerecord
docs

This mirrors the LOWER function that already exists. This SQL function is useful for string fields but also for PostgreSQL range fields where UPPER returns the upper bound of the...

activerecord