Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1811 commits
Select commit Hold shift + click to select a range
b10a43e
Fix ActiveSupport -> Active Support
skipkayhil Nov 1, 2025
3d4e3bd
Fix dependency on Rails constant
skipkayhil Nov 1, 2025
fd27a9c
Fix redirect_test leaking subscription state
skipkayhil Nov 1, 2025
b47cc51
Merge pull request #56075 from skipkayhil/hm-ykzwzxuypxrsypvs
skipkayhil Nov 2, 2025
5f924e2
Merge pull request #56066 from yahonda/add-tzdata-legacy
yahonda Nov 3, 2025
4511975
Merge pull request #56073 from zmariscal/polish-caching-guide-cleanup
p8 Nov 3, 2025
8c4804d
Add code examples section to guides guidelines.
p8 Oct 29, 2025
c8c7000
Merge pull request #55686 from fresh-eggs/active-storage-docs
rafaelfranca Nov 3, 2025
7f72832
Fix rails new to use stylesheet_link_tag "application" when --css is …
kryzhovnik Nov 3, 2025
46474c1
Merge pull request #56062 from Martin-Alexander/fix-sql-value-of-lowe…
guilleiguaran Nov 4, 2025
e10da3e
Upgrade GitHub Actions upload-artifact to v5
mhrseiki Nov 2, 2025
0d6b42f
Deduplicate eager-loaded models with composite primary key
Martin-Alexander Nov 3, 2025
513b6b1
Merge pull request #56086 from kryzhovnik/fix-css-stylesheet-link-tag
guilleiguaran Nov 4, 2025
7712c3e
Merge pull request #56074 from skipkayhil/hm-xsnlrkxknlxzzqys
skipkayhil Nov 5, 2025
1c196b8
Recover if a test interruption has left the old_references table around
matthewd Aug 26, 2025
6901769
Introduce QueryIntent
matthewd Aug 26, 2025
e02b1a4
Mutate QueryIntent as it works its way through execution
matthewd Aug 26, 2025
e92a4f6
Pass QueryIntent to #log
matthewd Nov 5, 2025
b22a86d
Pass QueryIntent to #perform_query
matthewd Nov 5, 2025
58e9e6b
Move SQL preprocessing into QueryIntent
matthewd Aug 26, 2025
1277a8f
Move Arel preprocessing into QueryIntent too
matthewd Aug 26, 2025
3fc2ca0
Deprecate exec_{insert,update,delete}
matthewd Aug 26, 2025
79951df
Merge pull request #56088 from Martin-Alexander/prevent-duplicates-wh…
byroot Nov 5, 2025
65dc216
Merge pull request #55897 from matthewd/query-intent
matthewd Nov 5, 2025
d95c37f
Merge pull request #56054 from p8/guides/file-names-comments
p8 Nov 5, 2025
bc41ad6
[RF-DOCS] Rails Engines (#55472)
Ridhwana Nov 5, 2025
c6de6cf
Merge pull request #56067 from mhrseiki/main
rafaelfranca Nov 5, 2025
b8cbbec
Merge pull request #56044 from genezys/partial_collection_block_main
guilleiguaran Nov 6, 2025
9f466dd
Fix default Dockerfile to properly copy the vendor directory
byroot Nov 6, 2025
454ae29
Fix db:system:change Dockerfile changes
jcsmithf22 Nov 6, 2025
53ff564
ActiveSupport: humanize handle international chars
jlduran Nov 2, 2025
13894af
Merge pull request #56077 from jlduran/fix-humanize
byroot Nov 7, 2025
92c7069
Update the `.node-version` file conditionally generated for new appli…
taketo1113 Nov 7, 2025
a22491d
Merge pull request #56106 from taketo1113/update-node-lts
guilleiguaran Nov 7, 2025
9d009f2
Fix detection of cssbundling-rails usage in the app generator
brunoprietog Nov 7, 2025
9b054c6
Merge pull request #56111 from brunoprietog/fix-cssbundling-check
guilleiguaran Nov 8, 2025
5e3f792
Fix foreign key test for MariaDB 12.1.1+ error message format
yahonda Nov 8, 2025
c0dc92e
Fix Arguments#serialize missing custom serializers
skipkayhil Nov 5, 2025
0e62756
Merge pull request #56093 from skipkayhil/hm-rynrvruzqlkttuqt
skipkayhil Nov 9, 2025
d21a74b
Merge pull request #56121 from yahonda/mariadb-12-1-1-foreign-key-err…
yahonda Nov 10, 2025
92cee4c
Fix AudioAnalyzerTest for ffmpeg 7 and ffmpeg 8
zzak Nov 10, 2025
89f3557
Reject Railties line_filtering from AS::BacktraceCleaner test
zzak Nov 8, 2025
dd6e75f
Merge pull request #56114 from zzak/re-56078
byroot Nov 10, 2025
ba58ac7
Merge pull request #56125 from zzak/re-56069
byroot Nov 10, 2025
a9b4f5f
Merge pull request #56102 from jcsmithf22/fix_db_system_change
byroot Nov 10, 2025
8950b65
Reset parallel test tables by deleting
djmb Oct 28, 2025
dcf0336
Add AbstractAdapter#empty_all_tables
djmb Nov 10, 2025
2451cec
Change ActiveModel::Validations#read_attribute_for_validation to retu…
lovro-bikic Nov 11, 2025
653dc2e
fix: small typo in active job basics documentation
jamesoneill997 Nov 11, 2025
b47aa9a
Merge pull request #56133 from jamesoneill997/active-job-docs-typo
yahonda Nov 11, 2025
b29ca6a
Removing old fixture directory
thiagopradi Nov 12, 2025
c9fa5d2
Optimize `String#strip_heredoc`
brkn Nov 10, 2025
07ae954
Merge pull request #56126 from brkn/strip_heredoc
byroot Nov 12, 2025
53d1cc7
Fix API docs of `ActiveRecord::Relation#delete_all`
callmesangio Nov 12, 2025
e376538
Merge pull request #56136 from callmesangio/fix-delete_all-docs
fatkodima Nov 12, 2025
ea3f581
fix cached_queries_count on ActiveRecord RuntimeRegistry
alanoliveira Nov 12, 2025
8a21713
Use explicit block parameter to avoid breaking private API signature
zzak Nov 12, 2025
c7f8c73
Merge pull request #56138 from alanoliveira/main
fatkodima Nov 12, 2025
ac29e7d
Enhance rate limiting to support dynamic `to:` and `within:` options
muriloduarte Nov 11, 2025
0d9809c
Fix "Tuning Performance for Deployment" guide
callmesangio Nov 12, 2025
feca260
Merge pull request #56135 from thiagopradi/removing-unused-fixture-di…
guilleiguaran Nov 12, 2025
18ad318
Merge pull request #56130 from lovro-bikic/symbol-error-messages-on-c…
guilleiguaran Nov 12, 2025
88ddc0e
Merge pull request #56128 from muriloduarte/feat/actionpack-rate-limi…
guilleiguaran Nov 12, 2025
cbf6d3a
Fix MySQL test_table_options DefaultEngineOptionTest#test_legacy_migr…
zzak Nov 13, 2025
bf0d5b7
Merge pull request #56097 from djmb/parallel-test-reset-tables-with-d…
byroot Nov 13, 2025
217d6a4
Merge pull request #56143 from callmesangio/fix-performance-docs
byroot Nov 13, 2025
42b68b2
Empty all tables with delete for trilogy
djmb Nov 13, 2025
4b45b28
Deduplicate dynamic regexp in journey
byroot Nov 13, 2025
d01b12f
Merge pull request #56148 from byroot/journey-dedup-regexps
byroot Nov 13, 2025
e0789cb
Merge pull request #56147 from djmb/trilogy-empty-all-table-with-delete
byroot Nov 13, 2025
026df3c
Lift primary_keys out of loop
skipkayhil Nov 13, 2025
3fef1b8
Fix devcontainer volumes for PostgreSQL 18
skipkayhil Nov 13, 2025
f98ce8c
Convert update_only to string at entrypoint
skipkayhil Nov 13, 2025
b366627
Implement LocalCache strategy on MemoryStore
mikeygough Nov 13, 2025
9c5e0cd
Allow compose override for devcontainer
zzak Nov 14, 2025
9f908e7
Remove explicit --config from rubocop binstub templates
davidstosik Nov 14, 2025
45c58d9
Merge pull request #56152 from Shopify/implement-localcache-strategy-…
gmcgibbon Nov 14, 2025
419d237
Merge pull request #56144 from zzak/re-56142
yahonda Nov 14, 2025
077c3ad
Merge pull request #56154 from davidstosik/remove-rubocop-config-arg
byroot Nov 14, 2025
7484909
Merge pull request #56155 from zzak/devcontainer-compose-override
guilleiguaran Nov 14, 2025
586a71f
Merge pull request #56140 from zzak/re-56044
guilleiguaran Nov 14, 2025
033b2a6
Remove custom TimeWithZone#respond_to?
skipkayhil Nov 14, 2025
cc3d5ee
Merge pull request #56150 from skipkayhil/hm-mmqxxlnmpvrvnwsk
guilleiguaran Nov 14, 2025
9c8df69
Clearer assertion when expected query list doesn't match
matthewd Nov 11, 2025
8ef0bca
Warm up delete_all before we start tracking queries
matthewd Nov 11, 2025
b141bd5
Merge pull request #56162 from skipkayhil/hm-wpuzxrwvykzmwokw
skipkayhil Nov 14, 2025
700c6d2
Revert "Allow compose override for devcontainer"
skipkayhil Nov 14, 2025
049448c
Fix devcontainer MySQL/Trilogy config to use host instead of socket
guilleiguaran Nov 14, 2025
40580da
Merge pull request #56165 from rails/revert-56155-devcontainer-compos…
guilleiguaran Nov 14, 2025
8519f57
Merge pull request #56160 from Shopify/hm-nlyulxxvlwvxqpus
skipkayhil Nov 14, 2025
ff45bc8
Merge pull request #56166 from rails/fix-devcontainer-mysql
guilleiguaran Nov 15, 2025
4e0ac46
Merge pull request #56161 from Shopify/hm-mmykxyqoqloksqxz
guilleiguaran Nov 15, 2025
901aaea
Unlink Associations from RDoc [ci skip]
zzak Nov 15, 2025
69cf936
Merge pull request #56168 from zzak/rdoc-unlink-associations
zzak Nov 15, 2025
3c21a2a
[ci skip] Fix minor grammar
wolfgangw Nov 15, 2025
dc17084
Faster class delegator
byroot Nov 15, 2025
dd33917
Merge pull request #56171 from byroot/class-delegator
byroot Nov 15, 2025
c17047b
Remove profiles
skipkayhil Nov 15, 2025
19fb952
Merge pull request #56172 from wolfgangw/patch-1
byroot Nov 15, 2025
e34c573
Remove hash allocations from InsertAll
skipkayhil Nov 15, 2025
b936830
Remove set usage from InsertAll
skipkayhil Nov 15, 2025
02b6a5e
Avoid {const,method}_missing in TimeZoneConversion
skipkayhil Nov 15, 2025
054cd96
Improve `String#strip_heredoc` documentation
byroot Nov 15, 2025
2799b4c
Don't require in methods
byroot Nov 15, 2025
81a6220
Remove forgotten puts in test suite
byroot Nov 15, 2025
ef94f2a
Active Support: Favor squiggly heredocs when applicable.
byroot Nov 15, 2025
dead16d
Address `ERROR 2026 (HY000): TLS/SSL error: self-signed certificate i…
yahonda Nov 16, 2025
dc13f9b
Make code blocks horizontally scrollable when lines exceed the visibl…
shivabhusal Nov 16, 2025
6a82578
docs: correct "web-application" to "web application" (#56091)
jarrensj Nov 16, 2025
67efb0d
Update comment for ActiveStorage::VariantWithRecord (#55891)
connorshea Nov 16, 2025
fff6b19
Add PostgreSQL service setup for Arch Linux
yahonda Nov 16, 2025
1bc7796
Fix typos in test descriptions & code for clarity
shivabhusal Nov 16, 2025
4a3ed47
Merge pull request #56178 from yahonda/add-postgresql-init-arch
yahonda Nov 16, 2025
6f73129
Support text/markdown format in DebugExceptions middleware
guilleiguaran Nov 16, 2025
77191f5
Merge pull request #56180 from rails/debug-exceptions-markdown
guilleiguaran Nov 16, 2025
a012b58
Remove unused transaction.written flag and mark_transaction_written
matthewd Nov 15, 2025
b57d485
Store the owning connection inside QueryIntent
matthewd Nov 6, 2025
95a9062
Allow QueryIntent to drive preprocessing
matthewd Nov 6, 2025
8836cbd
(Slightly) reduce the direct usage of internal_exec*
matthewd Aug 26, 2025
082a7c2
Add QueryIntent#execute!
matthewd Nov 11, 2025
c42b09d
More closely match query_* methods to their select_* equivalents
matthewd Nov 11, 2025
a1842f3
Drop internal_exec_query
matthewd Nov 11, 2025
01e33f8
Internal query_* methods are mostly used for schema queries
matthewd Nov 11, 2025
d632189
Further internalize query preprocessing
matthewd Nov 17, 2025
c1cf3a8
Fix DelegateClass defining ... signatures
skipkayhil Nov 17, 2025
9c29f70
Merge pull request #56174 from Shopify/hm-rxrpunyzutqmtktk
skipkayhil Nov 17, 2025
6388aec
Merge pull request #56185 from skipkayhil/hm-xnvkrkzwyqplpxsq
skipkayhil Nov 17, 2025
d7ab07a
Merge pull request #56177 from shivabhusal/fix-typos-in-test-nov-16
kamipo Nov 18, 2025
673bfc4
Fast failure mode for local ci
dennispaagman Nov 18, 2025
a39e20b
Fix call to colorize when trapping INT
dennispaagman Nov 18, 2025
e4abfc0
Merge pull request #56196 from dennispaagman/fix-int-color
guilleiguaran Nov 18, 2025
cf4e3c5
Merge pull request #56194 from dennispaagman/local-ci-fail-fast
guilleiguaran Nov 18, 2025
b3fe429
Removing more old fixtures
thiagopradi Nov 18, 2025
da70065
Merge pull request #56197 from thiagopradi/removing-more-unused-fixtures
guilleiguaran Nov 19, 2025
ef8c563
Make explain accept format hash
gmcgibbon Nov 19, 2025
990198b
Merge pull request #56198 from Shopify/explain_adapter_specific_options
gmcgibbon Nov 19, 2025
fad3693
Add support for configuring migration strategy on a per-adapter basis.
adrianna-chang-shopify Nov 20, 2025
67a17c6
Merge pull request #56204 from Shopify/ac-multiple-migration-strategies
eileencodes Nov 20, 2025
0c55191
Fix typo in AR changelog [ci skip]
zzak Nov 21, 2025
cb902da
Merge pull request #56151 from skipkayhil/hm-stsskzmpqyutypwm
skipkayhil Nov 21, 2025
8aebd0b
Add missing require for indirect_caller_locations test
guilleiguaran Nov 21, 2025
8cd9461
Set rake_eager_load in test environment for CI eager loading
trevorturk Nov 21, 2025
da3a1e0
Merge pull request #56212 from trevorturk/fix-rake-eager-load-ci-config
guilleiguaran Nov 23, 2025
2b75c9b
[ci skip] Add extension schema to the db/schema.rb example.
kakudou3 Nov 23, 2025
4f7ab01
Merge pull request #56218 from kakudou3/fix-sample-code-of-active-rec…
fatkodima Nov 23, 2025
54c0354
Fix TimeWithZone#xmlschema for DateTime local time (fixes #56112)
drymar Nov 22, 2025
17f6e00
Merge pull request #56216 from drymar/fix-twz-xmlschema-datetime
byroot Nov 23, 2025
3f888f4
Ensure variants are loaded and processed synchronously just once (#56…
rosa Nov 24, 2025
4115522
Address `Lint/UselessAssignment: Useless assignment to variable - sql.`
yahonda Nov 25, 2025
b22cb0c
Merge pull request #56226 from yahonda/remove-unused-variable-sql
yahonda Nov 25, 2025
7ec22e3
Handle asynchronous raise in all of `reconnect!`
byroot Nov 25, 2025
4c53863
Merge pull request #56231 from byroot/pg-adapter-handle-raise-in-rest…
byroot Nov 25, 2025
573671f
Add langauge for code example in asset pipeline guide [ci skip]
p8 Nov 26, 2025
798ff76
Merge pull request #56237 from p8/guides/asset-pipeline-code-fences
p8 Nov 26, 2025
65c8139
Merge pull request #56129 from matthewd/intent-execute
matthewd Nov 26, 2025
cc22e2c
Optimize ActiveRecord::Base#becomes when no class conversion needed
bogdan Nov 25, 2025
87a9fde
Merge pull request #56228 from bogdan/optimize-becomes
byroot Nov 27, 2025
be34971
Ensure `TimeWithZone#as_json` always return an UTF-8 string
byroot Nov 27, 2025
8bbd44f
Merge pull request #56242 from byroot/time-with-zone-as-json-encoding
byroot Nov 27, 2025
166f248
Respect config.log_level to emit debug events
claudiob Nov 22, 2025
e61b5e2
Handle closed PostgreSQL connections in retryable_query_error?
george-ma Nov 26, 2025
cf6c6a3
Merge pull request #56240 from Shopify/gm-11-26-handle_closed_postgre…
byroot Nov 27, 2025
823eb08
Remove whitespace to make note not part of code example [ci skip]
danieldevries Nov 27, 2025
fba2c79
Merge pull request #56244 from danieldevries/comment-not-part-of-code…
p8 Nov 27, 2025
02bdc52
Ensure PluginTestRunnerTest and TestRunnerInEngineTest use clean Bund…
zzak Nov 28, 2025
5322159
Merge pull request #56247 from zzak/re-56234
yahonda Nov 28, 2025
427061c
Test for `becomes` method when passing the same class
bogdan Nov 28, 2025
1e1d849
Merge pull request #56248 from bogdan/optimize-becomes
byroot Nov 28, 2025
20ee196
Introduce DevToolsController for chrome workspaces
coorasse Nov 27, 2025
d793290
Merge pull request #56245 from renuo/add_chrome_workspace_route
byroot Nov 28, 2025
dab8931
Simplify setting of threads in Puma config template
joshuay03 Nov 28, 2025
a0f5f81
Merge pull request #56249 from rails/simplify-threads-in-puma-config-…
guilleiguaran Nov 28, 2025
26f4e40
Update puma gem constraint from >= 5.0 to >= 7.1
joshuay03 Nov 29, 2025
ab8a909
Bump bundler-audit
byroot Nov 29, 2025
6e9a0d0
Merge pull request #56254 from rails/update-gemfile-puma-version-cons…
guilleiguaran Nov 29, 2025
eb6d11b
Remove exotic platforms from Gemfile to fix nigthly build
byroot Nov 29, 2025
d620bb1
Bump `bundler-audit` version 0.9.3 to support Ruby/Bundler 4
yahonda Nov 29, 2025
690ec88
Merge pull request #56255 from yahonda/bundler-audit-093-supports-ruby4
yahonda Nov 29, 2025
b4dd3fa
Include HTTP_FORWARDED header in IpSpoofAttackError message if available
zzak Nov 29, 2025
83b33ca
Add schematized json for has_json (#56258)
dhh Nov 30, 2025
cc0a4ab
Fix rdoc to md for 83b33ca
zzak Dec 1, 2025
930b51c
Fix typos on SchematizedJson [ci skip]
zzak Dec 1, 2025
9051bc4
Move async execution into QueryIntent
matthewd Nov 28, 2025
4c22f7a
Make execute! the dispatch point for sync vs async
matthewd Nov 28, 2025
ca70a55
Add QueryIntent#future_result
matthewd Nov 28, 2025
acef5b4
Split async into allow_async and ran_async
matthewd Dec 1, 2025
eee78ad
Fix typo in comment
matthewd Nov 28, 2025
8828d54
`ActiveJob.perform_all_later` should respect `job_class.enqueue_after…
OuYangJinTing Nov 30, 2025
c60d764
Merge pull request #56264 from byroot/fix/activejob/perform_all_later-2
byroot Dec 1, 2025
3320fac
Merge pull request #56256 from zzak/re-56186
byroot Dec 1, 2025
807f371
Stub bundle install for ApiAppGeneratorTest
zzak Dec 1, 2025
1a02651
Fix example
dhh Dec 1, 2025
56cec19
Merge pull request #56265 from zzak/api_app_generator_test-kamal
guilleiguaran Dec 1, 2025
c85a226
Add a top level bin/test
byroot Dec 2, 2025
81a6ff8
Rails::TestUnit::Reporter print usable rerun command
byroot Dec 2, 2025
f5b981e
Merge pull request #56269 from byroot/root-bin-test
byroot Dec 2, 2025
ea8736b
Skip all system test files on app generation
eileencodes Dec 2, 2025
873fb48
Merge pull request #56272 from rails/skip-all-system-test-files-on-ap…
eileencodes Dec 2, 2025
b3bb87c
Use Bundler.with_unbundled_env for GeneratorsTestHelper run_app_update
zzak Dec 3, 2025
c397e50
Merge pull request #56275 from zzak/re-56271
yahonda Dec 3, 2025
35ee867
Add block-level `scoping` to AR querying guide
shivabhusal Nov 24, 2025
740e11d
Merge pull request #56229 from shivabhusal/adds_scoping_doc_ar
zzak Dec 3, 2025
593c709
Use Digest::UUID.uuid_v5 to generate uuid instead of hand-rolled
zzak Dec 3, 2025
414a0b7
Use pattern matching on sql instead of string match event payload name
zzak Dec 3, 2025
d9fc166
ActionText: Validate RemoteImage URLs
flavorjones Dec 3, 2025
fd7518b
fix: provide absolute_path method
markokajzer Dec 3, 2025
62ee670
Fix RDoc markup for Time.zone.today in Date.current
Yuhi-Sato Dec 3, 2025
9606d93
Merge pull request #56267 from matthewd/intent-async
matthewd Dec 4, 2025
adb5b4b
Decode PostgreSQL money values in direct query results
matthewd Nov 13, 2025
fee7454
Decode PostgreSQL bytea values in direct query results
matthewd Nov 13, 2025
f9b57e5
Track whether bytea data has already been decoded
matthewd Nov 14, 2025
80df39a
Merge pull request #56159 from matthewd/missing-pg-decoders
matthewd Dec 4, 2025
3728f41
Fix ActiveRecord::SoleRecordExceeded#record to return the relation
byroot Dec 4, 2025
0f3585e
Merge pull request #56287 from byroot/fix-sole-error-record
byroot Dec 4, 2025
eed6504
Fix typos in comments
Dec 4, 2025
7a3bae8
Add SecureRandom.base32 (#56288)
monorkin Dec 4, 2025
630a479
Merge pull request #56289 from yujiteshima/fix-typos-codespell
p8 Dec 4, 2025
1218814
Merge pull request #56286 from Yuhi-Sato/fix-date-current-rdoc
p8 Dec 4, 2025
17746ee
Fix `RedisCacheStore` for `connection_pool` >= 3
fatkodima Dec 4, 2025
81ce868
Merge pull request #56292 from fatkodima/fix-redis_cache_store-newer-…
fatkodima Dec 4, 2025
1ed2915
Merge pull request #56280 from zzak/re-56245
guilleiguaran Dec 4, 2025
7dbbb68
Fix `MemCacheStore` for `connection_pool` >= 3
fatkodima Dec 4, 2025
3c3f6c8
Combine rather than overwrite tag content supplied via both parameter…
dhh Dec 5, 2025
1c2dac8
Merge pull request #56294 from fatkodima/fix-mem_cache_store-newer-co…
fatkodima Dec 5, 2025
b6a0789
Merge pull request #56283 from flavorjones/flavorjones/remote-image-u…
guilleiguaran Dec 5, 2025
f3a7671
Allow `schema_dump` configuration to be an absolute path. (#56290)
flavorjones Dec 5, 2025
3d105fc
`ActiveStorage` immediate variants (#51951)
tomrossi7 Dec 5, 2025
abf8888
Merge pull request #56285 from markokajzer/main
byroot Dec 5, 2025
5973c9a
Merge pull request #56279 from zzak/re-56225
byroot Dec 5, 2025
4798820
show full navbar code for login element in getting_starded guide
Tretent Nov 26, 2025
de034ad
Merge pull request #56236 from Tretent/patch-1
p8 Dec 5, 2025
07f34c9
Wrap console command with an executor by default
zzak Dec 5, 2025
cb0fd22
Extract `ActionText::TrixEditor` (#51238)
seanpdoyle Dec 5, 2025
38a74b8
Merge pull request #56213 from claudiob/fix_debug_mode
gmcgibbon Dec 5, 2025
78e31ab
Fix typos in command line guide
Saidbek Dec 5, 2025
ba164ab
Merge pull request #56299 from Saidbek/fix-command-line-guide-typos
gmcgibbon Dec 5, 2025
8e9bb59
Fix bug when txn isolation would not reset or when requires_new is se…
kirs Dec 6, 2025
9fb3088
Fix typos in JavaScript guide (#56300)
Saidbek Dec 6, 2025
36de173
Fix ERB strict locals parsing when comment spans multiple lines
Saidbek Dec 2, 2025
f9c1063
Merge pull request #56297 from zzak/re-56277
byroot Dec 6, 2025
092aa45
Merge pull request #56270 from Saidbek/fix-multiline-strict-locals-pa…
byroot Dec 6, 2025
fcc3d29
Suppress unnecessary output in railties tests
yahonda Dec 4, 2025
85757e7
Fix dumping materialized views indexes
fatkodima Dec 6, 2025
5d2630f
Merge pull request #56304 from fatkodima/fix-dumping-views-indexes
fatkodima Dec 6, 2025
10ea0ed
Use email_address in Action Mailer Basics guide
Saidbek Dec 6, 2025
e589538
Adds support for case when closing parenthesis is on next line
shivabhusal Dec 6, 2025
5724b1c
Merge pull request #56316 from shivabhusal/support-closing_parenthesi…
byroot Dec 7, 2025
a48557e
Merge pull request #56303 from yahonda/quiet-railties-stdout
yahonda Dec 7, 2025
b1cda90
Merge pull request #56310 from Saidbek/docs/action-mailer-guide-email…
guilleiguaran Dec 7, 2025
7c7369c
ActiveRecord log to STDOUT on console
coorasse Dec 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 7 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/ruby/.devcontainer/base.Dockerfile

# [Choice] Ruby version: 3.4, 3.3, 3.2
ARG VARIANT="3.4.2"
ARG VARIANT="3.4.7"
FROM ghcr.io/rails/devcontainer/images/ruby:${VARIANT}

RUN sudo apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& sudo apt-get -y install --no-install-recommends \
mariadb-client libmariadb-dev \
postgresql-client postgresql-contrib libpq-dev \
ffmpeg mupdf mupdf-tools libvips-dev poppler-utils \
libxml2-dev sqlite3 imagemagick
libxml2-dev sqlite3 imagemagick tzdata-legacy

# Add the Rails main Gemfile and install the gems. This means the gem install can be done
# during build instead of on start. When a fork or branch has different gems, we still have an
Expand All @@ -33,6 +33,10 @@ COPY tools/releaser/releaser.gemspec /tmp/rails/tools/releaser/
# can bundle as vscode user and then remove the tmp dir
RUN sudo chown -R vscode:vscode /tmp/rails
USER vscode
RUN cat <<-EOF > $HOME/.my.cnf && chmod 600 $HOME/.my.cnf
[client]
ssl=OFF
EOF
RUN cd /tmp/rails \
&& /home/vscode/.rbenv/shims/bundle install \
&& bash -i -c 'bundle install' \
&& rm -rf /tmp/rails
1 change: 1 addition & 0 deletions .devcontainer/boot.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh

bundle update --bundler
bundle install

if [ -n "${NVM_DIR}" ]; then
Expand Down
14 changes: 7 additions & 7 deletions .devcontainer/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:

depends_on:
- postgres
- mariadb
- mysql
- redis
- memcached

Expand All @@ -26,19 +26,19 @@ services:
image: postgres:latest
restart: unless-stopped
volumes:
- postgres-data:/var/lib/postgresql/data
- postgres-data:/var/lib/postgresql
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres

mariadb:
image: mariadb:lts
mysql:
image: mysql:latest
restart: unless-stopped
volumes:
- mariadb-data:/var/lib/mysql
- mysql-data:/var/lib/mysql
environment:
MARIADB_ROOT_PASSWORD: root
MYSQL_ROOT_PASSWORD: root

redis:
image: valkey/valkey:8
Expand All @@ -53,5 +53,5 @@ services:

volumes:
postgres-data:
mariadb-data:
mysql-data:
redis-data:
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,16 @@
"ghcr.io/devcontainers/features/node:1": {
"version": "latest"
},
"ghcr.io/rails/devcontainer/features/postgres-client:1.1.1": {
"version": "17"
"ghcr.io/rails/devcontainer/features/postgres-client:1.1.3": {
"version": "18"
}
},

"containerEnv": {
"PGHOST": "postgres",
"PGUSER": "postgres",
"PGPASSWORD": "postgres",
"MYSQL_HOST": "mariadb",
"MYSQL_HOST": "mysql",
"REDIS_URL": "redis://redis/0",
"MEMCACHE_SERVERS": "memcached:11211"
},
Expand Down
28 changes: 0 additions & 28 deletions .github/autolabeler.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
actioncable:
- changed-files:
- any-glob-to-any-file: "actioncable/**/*"
actionmailbox:
- changed-files:
- any-glob-to-any-file: "actionmailbox/**/*"
actionmailer:
- changed-files:
- any-glob-to-any-file: "actionmailer/**/*"
actionpack:
- changed-files:
- any-glob-to-any-file: "actionpack/**/*"
actiontext:
- changed-files:
- any-glob-to-any-file: "actiontext/**/*"
actionview:
- changed-files:
- any-glob-to-any-file: "actionview/**/*"
activejob:
- changed-files:
- any-glob-to-any-file: "activejob/**/*"
activemodel:
- changed-files:
- any-glob-to-any-file: "activemodel/**/*"
activerecord:
- changed-files:
- any-glob-to-any-file: "activerecord/**/*"
activestorage:
- changed-files:
- any-glob-to-any-file: "activestorage/**/*"
activesupport:
- changed-files:
- any-glob-to-any-file: "activesupport/**/*"
rails-ujs:
- changed-files:
- any-glob-to-any-file: "actionview/app/assets/javascripts/rails-ujs/**/*"
railties:
- changed-files:
- any-glob-to-any-file: "railties/**/*"
docs:
- changed-files:
- any-glob-to-any-file: "guides/**/*"
12 changes: 0 additions & 12 deletions .github/no-response.yml

This file was deleted.

30 changes: 0 additions & 30 deletions .github/stale.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/verba-sequentur.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/devcontainer-shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Lint Devcontainer Scripts
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/devcontainer-smoke-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: Checkout (GitHub)
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand All @@ -34,7 +34,7 @@ jobs:
run: bundle exec railties/exe/rails new myapp_sqlite --database="sqlite3" --dev --devcontainer

- name: Test devcontainer sqlite3
uses: devcontainers/[email protected]
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417
with:
subFolder: myapp_sqlite
imageName: ghcr.io/rails/smoke-test-devcontainer
Expand All @@ -51,7 +51,7 @@ jobs:
run: bundle exec railties/exe/rails new myapp_postgresql --database="postgresql" --dev --devcontainer

- name: Test devcontainer postgresql
uses: devcontainers/[email protected]
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417
with:
subFolder: myapp_postgresql
imageName: ghcr.io/rails/smoke-test-devcontainer
Expand All @@ -68,7 +68,7 @@ jobs:
run: bundle exec railties/exe/rails new myapp_mysql --database="mysql" --dev --devcontainer

- name: Test devcontainer mysql
uses: devcontainers/[email protected]
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417
with:
subFolder: myapp_mysql
imageName: ghcr.io/rails/smoke-test-devcontainer
Expand All @@ -85,7 +85,7 @@ jobs:
run: bundle exec railties/exe/rails new myapp_trilogy --database="trilogy" --dev --devcontainer

- name: Test devcontainer trilogy
uses: devcontainers/[email protected]
uses: devcontainers/ci@8bf61b26e9c3a98f69cb6ce2f88d24ff59b785c6 # v0.3.1900000417
with:
subFolder: myapp_trilogy
imageName: ghcr.io/rails/smoke-test-devcontainer
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: "rails-bot: Label PRs"
on:
# This event runs in the context of the base of the pull request, rather than
# in the context of the merge commit, as the pull_request event does. This
# prevents execution of unsafe code from the head of the pull request that
# could alter your repository or steal any secrets you use in your workflow.
# This event allows your workflow to do things like label or comment on pull
# requests from forks. Avoid using this event if you need to build or run
# code from the pull request.
#
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#pull_request_target
pull_request_target:

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

27 changes: 27 additions & 0 deletions .github/workflows/more-info-needed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "rails-bot: More Info Needed"

on:
schedule:
- cron: "0 0 * * *"

jobs:
more-info-needed:
runs-on: ubuntu-latest
permissions:
contents: read
issues: write
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: -1
days-before-close: 14
operations-per-run: 100
stale-issue-label: "more-information-needed"
close-issue-message: >
This issue has been automatically closed because there has been no follow-up
response from the original author. We currently don't have enough
information in order to take action. Please reach out if you have any additional
information that will help us move this issue forward.
only-labels: "more-information-needed"
only-pr-labels: false
2 changes: 1 addition & 1 deletion .github/workflows/rail_inspector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
name: rail_inspector tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Remove Gemfile.lock
run: rm -f Gemfile.lock
- name: Set up Ruby
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/rails-new-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
rails-new-docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Remove Gemfile.lock
run: rm -f Gemfile.lock
- name: Set up Ruby
Expand All @@ -34,14 +34,15 @@ jobs:
- name: Run container
run: |
podman run --name $APP_NAME \
--user root \
-v $(pwd):$(pwd) \
-e SECRET_KEY_BASE_DUMMY=1 \
-e DATABASE_URL=sqlite3:storage/production.sqlite3 \
-p 3000:3000 $APP_NAME &
- name: Test container
run: ruby -r ./.github/workflows/scripts/test-container.rb

- uses: zzak/action-discord@v8
- uses: zzak/action-discord@4cd181470664aa174b7252e5afb2ecf896001817 # v8
continue-on-error: true
if: failure() && github.ref_name == 'main'
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rails_releaser_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
Expand Down
Loading