Jonathan Hefner
90e0b2b151
Prefix config setting name with `config.` [ci-skip]
2022-01-11 21:06:07 -06:00
Rafael Mendonça França
bfb756bc88
Document new default of add_autoload_paths_to_load_path
2022-01-11 21:39:41 +00:00
Rafael Mendonça França
ea5792a021
Merge pull request #44120 from jonathanhefner/guide-configuring-central-defaults-list
...
Re-add central list of versioned default values [ci-skip]
2022-01-11 16:37:50 -05:00
Jean Boussier
a191321f7b
Disable config.add_autoload_paths_to_load_path by default in Rails 7.1
...
Ref: 668673f779
Now that Zeitwerk is the only autoloader, there no reason
to add autoloaded paths to `$LOAD_PATH`.
2022-01-11 12:05:32 +01:00
vamsipavanmahesh
2c37a6553e
Fix example related to `comparison` in Active Record Validations guide
...
Flipped the example, to show that end_date should be greater than start_date
2022-01-09 12:28:00 +05:30
Paulo Felipe Souza
f63980173e
Documentation Working with Javascript Fix remote: true ( #44123 )
...
* Fix remote: true
The explanation after the form example,
"Because the form's remote option is set to true, the request will be posted to the UsersController as an Ajax request, looking for JavaScript..."
Infers the form example has the remote: true
* Update guides/source/working_with_javascript_in_rails.md
change to local: false as suggested by @p8
Co-authored-by: Petrik de Heus <petrik@deheus.net>
2022-01-09 15:35:49 +09:00
Neil
ee9a77150c
fix ApplicationController path on Action View guides
...
Since Rails 2.3, the ApplicationController path is
app/controllers/application_controller.rb, as stated on
its release notes:
https://guides.rubyonrails.org/2_3_release_notes.html#application-controller-renamed
2022-01-08 16:19:01 -03:00
Jonathan Hefner
e9caa75969
Re-add central list of versioned default values [ci-skip]
...
Follow-up to #44038 .
This re-adds a central list of versioned default values so that new
default values can be inspected at a glance.
2022-01-07 16:02:46 -06:00
weavermedia
bc9060a22a
Improve ActiveStorage analyzer error message for missing ffprobe. Add mention to guides.
2022-01-07 10:32:03 -08:00
Jonathan Hefner
9d9adba20e
Merge pull request #44038 from jonathanhefner/guide-configuring-reorganize-versioned-defaults
...
Reorganize versioned default values [ci-skip]
2022-01-07 11:46:22 -06:00
Jonathan Hefner
dfbc7af7bd
Reorganize versioned default values [ci-skip]
...
There is still some confusion about how contributors should communicate
versioned default values. Now that each configuration setting has its
own heading (since #43138 ), it seems appropriate that each setting's
section be self-contained. Therefore, this commit moves each versioned
default value into its respective section.
This also adds a few configuration setting descriptions and baseline
default values that were missing.
2022-01-07 11:31:02 -06:00
Jan Habermann
4f91215ce9
Fix typo in autoloading docs
2022-01-07 09:18:26 +01:00
Rafael Mendonça França
16844af48d
Run the gem template guides for 3.1 now that 7.0.1 is out
2022-01-06 21:56:06 +00:00
Rafael Mendonça França
1717237ccc
No need to check for Ruby version on the bug reports template anymore
...
Those libraries are being defined as dependency of the right frameworks
now.
2022-01-06 20:50:33 +00:00
Rafael Mendonça França
ce3db04cd7
Merge pull request #44096 from akostadinov/main
...
Document usage of enable_starttls for SMTP
2022-01-06 10:51:52 -05:00
Aleksandar N. Kostadinov
f1a770c798
document usage of :enable_starttls
2022-01-06 17:41:00 +02:00
Rafael Mendonça França
e0c29df00d
Document what the new default_headers will be [ci skip]
2022-01-06 15:40:38 +00:00
Rafael Mendonça França
9188b49883
Merge pull request #43968 from sabljak/sabljak/remove-x-download-options
...
Remove X-Download-Options default header
2022-01-06 10:39:14 -05:00
Harun Sabljaković
486be06ccb
Remove X-Download-Options default header
...
Since X-Download-Options header is only used by the soon deprecated Internet Explorer, it makes sense to remove this header as a default one.
2022-01-06 10:03:17 +01:00
Rafael Mendonça França
110eeabf5c
Only run test for gem templates in Ruby < 3.1
2022-01-06 00:48:36 +00:00
Rafael Mendonça França
8a042d827e
Clarify that only the latest release series is supported for bug fixes
2022-01-05 20:33:12 +00:00
Jonathan Hefner
2e5ed2f5e4
Merge pull request #44060 from soartec-lab/fix/doc-video_preview_arguments-default-value
...
Fix document `config.active_storage.video_preview_arguments` description. [ci-skip]
2022-01-05 12:27:09 -06:00
soartec-lab
daff381a82
Add `config.load_defaults 7.0` annotation in `config.active_storage.video_preview_arguments` document [skip ci]
2022-01-05 12:21:24 -06:00
Wojciech Wnętrzak
e58d23bed4
Make multi db docs public
2022-01-05 13:52:39 +01:00
Rafael Mendonça França
c83dbb9386
Merge pull request #44067 from ghiculescu/patch-7
...
Add missing `cookies_serializer` config default
2022-01-04 14:27:10 -05:00
mihaic195
d65ff263e6
Update action cable overview docs
2022-01-04 20:05:13 +02:00
Alex Ghiculescu
c2d0b1a030
Add missing `cookies_serializer` config default
...
As noted in https://github.com/rails/rails/pull/42538#discussion_r778246983 this is missing from the docs.
2022-01-04 11:29:32 -06:00
Ryuta Kamizono
d5b13741bb
Merge pull request #44056 from kamipo/show_7_0_release_notes
...
Show 7.0 Release Notes in the guides index
2022-01-04 02:22:31 +09:00
Jonathan Hefner
ff07980613
Merge pull request #44049 from mzrnsh/main
...
Update classic_to_zeitwerk_howto.md [ci-skip]
2022-01-03 11:19:48 -06:00
Ryuta Kamizono
bc7b644593
Show 7.0 Release Notes in the guides index
...
Without this, the release notes doesn't appear in the guides index.
2022-01-04 02:14:45 +09:00
Jonathan Hefner
2b0a2f963c
Merge pull request #44045 from jonathanhefner/guide-getting_started-clean-up-turbo
...
Revise Turbo-related info in Getting Started guide [ci-skip]
2022-01-03 11:00:34 -06:00
Jonathan Hefner
d99befacc1
Revise Turbo-related info in Getting Started guide [ci-skip]
...
This revises a few recent additions related to Turbo.
2022-01-03 10:58:02 -06:00
Ryuta Kamizono
7749451458
Merge pull request #44055 from ghiculescu/postgres-guide-enum
...
Update Postgres guide for `ActiveRecord::Enum` support
[ci-skip]
2022-01-04 01:06:04 +09:00
Alex Ghiculescu
5d4309e454
Update Postgres guide for ActiveRecord::Enum support
...
Updates https://guides.rubyonrails.org/active_record_postgresql.html#enumerated-types based the new features added in https://github.com/rails/rails/pull/41469
2022-01-03 10:40:52 -05:00
Giorgi Mez
35d5ed865d
Update classic_to_zeitwerk_howto.md
...
"Don't be" is a better response to "I am scared"
2022-01-03 15:49:36 +04:00
Stephan Kämper
70988822ba
Fixes link formatting to Turbo
...
Signed-off-by: Stephan Kämper <the.tester@seasidetesting.com>
2022-01-02 12:19:30 +01:00
Jonathan Hefner
ad60a8bb33
Merge pull request #44029 from soartec-lab/fix/doc-active_record-partial_inserts
...
Fix remove default value for `config.active_record.partial_inserts` [skip ci]
2021-12-30 20:08:25 -06:00
soartec-lab
472be058e0
Fix remove default value of `config.active_record.partial_inserts` in guide [skip ci]
2021-12-31 10:33:02 +09:00
Steven Hilton
b6766b847b
use new vips syntax for named variant examples
2021-12-30 22:21:35 +00:00
Rafael Mendonça França
a17629e393
Fix image_processing link
...
[ci skip]
2021-12-29 21:36:51 +00:00
Francis Go
110df65101
Getting Started Guide: Remove code sample
2021-12-28 15:50:15 +01:00
Alex Ghiculescu
346f43f2b5
Update guides/source/caching_with_rails.md
...
Co-authored-by: Juan Manuel Ramallo <juanmanuelramallo@hey.com>
2021-12-27 19:02:39 -06:00
Alex Ghiculescu
51b8ddf49e
Docs: advise against caching AR objects
...
Based on this comment https://github.com/rails/rails/issues/43767#issuecomment-1000988644
Closes https://github.com/rails/rails/issues/43767
2021-12-27 14:11:06 -06:00
Ryuta Kamizono
296ef7a172
Update layouts_and_rendering.md using turbo [ci-skip]
2021-12-27 18:47:44 +09:00
Ryuta Kamizono
336a0ee65f
Update bug report templates to use Rails 7.0
2021-12-27 18:29:01 +09:00
Ryuta Kamizono
0c02acf64c
Merge pull request #43974 from oltdaniel/fix-getting-started-guide
...
update getting started guide using turbo
[ci-skip]
2021-12-27 14:01:22 +09:00
Vipul A M
ccdfbc6946
Merge pull request #43732 from st0012/enrich-debugging-guide-2
2021-12-26 17:13:50 -05:00
st0012
03d76fb40a
Add breakpoint section
...
Add breakpoint examples
Add breakpoint options
Some corrections
Introduce chained debugging commands
2021-12-26 20:05:16 +00:00
Francis Go
cdc88f809e
Update Release Notes [ci-skip]
2021-12-26 16:25:53 +01:00
Yasuo Honda
417ec15f5d
Ruby 3.1.0 installs `digest` 3.1.0 as standard library
...
No need to add digest gem explicitly anymore.
Refer:
https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/
> Standard libraries updates
> The following default gem are updated.
> digest 3.1.0
This commit is kind of reverting these pull requests.
https://github.com/rails/rails/pull/42902
https://github.com/rails/rails/pull/43424
https://github.com/rails/rails/pull/43433
2021-12-26 11:07:46 +09:00