Skip to content

Commit 94e4598

Browse files
committed
7.2.2
1 parent 2525f3a commit 94e4598

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
source "https://rubygems.org"
22

33
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4-
gem "rails", "~> 7.2.1", ">= 7.2.1.2"
4+
gem "rails", "~> 7.2.2"
55
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
66
gem "sprockets-rails"
77
# Use sqlite3 as the database for Active Record

config/environments/production.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,9 @@
9292
# Do not dump schema after migrations.
9393
config.active_record.dump_schema_after_migration = false
9494

95+
# Only use :id for inspections in production.
96+
config.active_record.attributes_for_inspect = [ :id ]
97+
9598
# Enable DNS rebinding protection and other `Host` header attacks.
9699
# config.hosts = [
97100
# "example.com", # Allow requests from example.com

0 commit comments

Comments
 (0)