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

Another ERB regression. Here's the template: ``` Posts ``` Here's the exception screen: ![CleanShot 2024-02-14 at 14 19 08@2x](https://github.com/rails/rails/assets/2741/84d72fe0-32e6-4597-9424-756af8f56480)

actionpack
actionview

Seems like we've regressed on exceptions raised from within ERB templates. They're showing the backtrace of the compiled method instead of the underlying template. That's not very helpful. ![CleanShot 2024-02-14...

actionpack
actionview

Bundler has a nice new feature to get the ruby version from .ruby-version. Would be nice to take advantage of that when possible. So the default Gemfile should generate `ruby...

railties
attached PR

~~Debugging why a CI job get stuck is particularly painful as the output doesn't contain any information whatsoever.~~ ~~By enabling `--verbose` we ensure the last line of the CI job...

actionmailer
actionpack
activemodel
activerecord
activesupport
railties
actionview
activejob
actioncable
activestorage
actionmailbox
actiontext

### 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", github: "rails/rails", branch: "main" gem "sqlite3" end require "active_record"...

From https://hackerone.com/reports/2334455 (Treated as Informative) --- The danger of deserialization has been reduced in Rails 7.1 by increasing the number of settings that do not use Marshal in MessageVerifier. However,...

**Motivation / Background** Currently, the `where.associated` method in Rails only allows filtering associated records with an `inner join`, which can potentially override existing join types in the query. The fix...

activerecord

We were getting `ActiveStorage::FileNotFoundError`s spuriously and are fairly confident that this is a race condition in the way ActiveStorage handles uploads and attachment. ### Steps to reproduce In the [rails...

docs
stale
activestorage

### Motivation / Background Wrapping code in a block is not always (easily) possible, this way it behaves like stdlib Tempfile that can be unlinked manually in addition to the...

needs feedback
activestorage

### Motivation / Background This Pull Request has been created because there are typos and variables are incorrectly named in #50914 . ### Detail This Pull Request changes: fix typo...

railties