rails icon indicating copy to clipboard operation
rails copied to clipboard

Ruby on Rails

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

### Motivation / Background Previously enums without keywords were always mapped to integers and indexed by position, now it is converted based on the column type, it works for strings...

activerecord

### Steps to reproduce ```ruby # frozen_string_literal: true require "bundler/inline" gemfile(true) do source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem "rails" # If you want to test against edge Rails...

activerecord

### Steps to reproduce ```ruby # frozen_string_literal: true require "bundler/inline" gemfile(true) do source "https://rubygems.org" git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem "rails" # If you want to test against edge Rails...

activerecord
activestorage

### Motivation / Background Fix: #50326 ### Detail `params.deep_transform_keys` should transform the keys of the params, including nested hashes, arrays, and ActionController::Parameters objects. ### Checklist Before submitting the PR make...

actionpack
activesupport

`Logger.logger_outputs_to?` only supports `STDOUT` and `STDERR`, not `File` objects or plain filenames.

activesupport

i have in my model class Profile < ApplicationRecord has_one_attached :photo do |attachable| attachable.variant :thumb, resize_to_limit: [100, 100] end end After creating proflle @profile.photo.attached? => true [16] pry(#)> [17] pry(#)>...

activestorage

### Steps to reproduce When I'm doing `model.relations.update_all({})` it raises an exception: `ArgumentError: Empty list of attributes to change` but when I do `model.update({})` there is no exception and it...

### Motivation / Background Fixes #51095 ### Detail Updates the error page displayed when a view template is missing to account for nested controller paths in the suggested correct path...

actionpack
ready

### Steps to reproduce The following line of code may (under rare conditions) cause problems: https://github.com/rails/rails/blob/44db6bbfcbe66ac5926f01f3b693a378552b752f/actionpack/lib/action_dispatch/routing/route_set.rb#L888 This mock request works fine for most Rails apps, however, if the app handles...

actionpack

### Motivation / Background The new AllowBrowser feature was added in #50505 . It permits setting minimum browser versions for an application, defines and documents a `:modern` version-set as requiring...

actionpack
railties