Benjamín Silva
25b238568c
Fix association_basics.md
...
In this section the relation was renamed `:writer` so we need to reflect that in the examples.
2024-05-24 16:10:22 -04:00
Akhil G Krishnan
1c0fa2f542
Add Railties notable changes in 7.2 release note
2024-05-24 23:50:30 +05:30
Rafael Mendonça França
213bdfe470
Use the --devcontainer
option when generating a new Rails app in the guide
2024-05-23 21:12:16 +00:00
Carlos Antonio da Silva
be2ecdf26d
Merge pull request #51893 from indigotechtutorials/main
...
Fix the Direct Upload class example in Active Storage Docs [ci skip]
2024-05-23 17:14:09 -03:00
Rafael Mendonça França
b284f8b867
Merge pull request #51896 from rails/rm-make-invert-opt-in
...
Don't enable automatically_invert_plural_associations by default
2024-05-23 15:49:51 -04:00
Rafael Mendonça França
15381dd3b1
Merge pull request #51894 from rails/rm-enable-yjit
...
Move plumbing to enable yjit to inside the framework
2024-05-23 15:19:39 -04:00
Rafael Mendonça França
a8a848d76e
Don't enable automatically_invert_plural_associations by default
...
This can cause a lot of issues that are hard to detect.
It is better to make this opt-in for people that want to use it.
In Rails 8 we can revisit if we want to enable this config by default.
2024-05-23 19:15:01 +00:00
Rafael Mendonça França
30e6a197df
Move plumbing to enable yjit to inside the framework
...
There is no reason to expose all those details to users and this
has the benefit that now are can ensure that the YJIT is enabled
after all initialization is done.
2024-05-23 19:01:29 +00:00
Andrew Novoselac
a61bfe49a5
Make devcontainer opt-in when creating a new application
...
For Rails 7.2 we will make devcontainer and opt-in feature for new applications. When creating a new app, you can generate a devcontainer by passing the --devcontainer flag.
2024-05-23 18:43:19 +00:00
Indigo Tech
3855416df8
fix the direct upload class example
2024-05-23 11:54:46 -05:00
Cédric Carrard
992dbd791c
fix #50189 docs section reverting previous migrations mismatch code example
2024-05-22 21:09:42 +02:00
Ngan Pham
397585c22c
Document the transaction.active_record event
2024-05-21 16:43:42 -07:00
Carlos Antonio da Silva
705b70a2f1
Merge pull request #51833 from akhilgkrishnan/remove-unnecessary-changes
...
Remove 7.2 release changes from Rails 8.0 release note [ci skip]
2024-05-16 10:21:59 -03:00
Carlos Antonio da Silva
49d4b1c311
Merge pull request #51834 from akhilgkrishnan/point-7-2-stable
...
Point 7-2-stable branch CHANGELOGS in rails 7-2 release note [ci skip]
2024-05-16 10:17:28 -03:00
Carlos Antonio da Silva
44b142452b
Merge pull request #51840 from p8/guides/i18n-repo
...
Update link to `i18n` gem repository [ci-skip]
2024-05-16 10:12:15 -03:00
eileencodes
ccd5a25e98
Clarify contributing doc to not ping maintainers
2024-05-16 09:10:58 -04:00
Joé Dupuis
478874ae1b
Add active_record.postgresql_adapter_decode_dates
...
to toggle automatic decoding of dates column with the
PostgresqlAdapter.
PR #51483 is a breaking change and should have been gated behind a
config.
2024-05-15 18:38:08 +00:00
Petrik
0f2487b579
Update link to i18n
gem repository [ci-skip]
...
The repository got moved to the `ruby-i18n` organization.
The google group no longer seems to be active and is removed as well.
2024-05-15 14:59:27 +02:00
Akhil G Krishnan
df15073efd
Point 7-2-stable branch CHANGELOGS in rails 7-2 release note
2024-05-15 09:20:28 +05:30
Akhil G Krishnan
84fa2f6d15
Remove 7.2 release changes from Rails 8.0 release note
2024-05-15 08:45:49 +05:30
Takuya Noguchi
b9b23111b4
Remove deprecated problem from local dev guide
...
mysql2 gem, as of mysql2 0.5.6, can now be compiled
with openssl@3 without any option on macOS. Also as
openssl@1.1 got EOL'd on 2023-09-11, we should not
recommend to use it.
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2024-05-14 14:35:18 +00:00
Rafael Mendonça França
a0e8ea1341
Add Highlights section in the Rails 7.1 release notes
2024-05-13 18:41:52 +00:00
Rafael Mendonça França
37fd0e7fe4
Development of Rails 8.0 starts now
...
🎉
2024-05-13 16:45:20 +00:00
Rafael Mendonça França
be0cb4e8f9
Remove debug require from guides generator
2024-05-10 18:42:55 +00:00
Rafael Mendonça França
0eed7c4ee4
Merge pull request #51637 from Shopify/update-docs-for-devcontainer
...
Update Getting Start With Rails guide to account for Dev Containers
2024-05-10 15:36:35 -03:00
Carlos Antonio da Silva
bc6b432d31
Merge pull request #51504 from MooseCowBear/navigation-highlight
...
Add navbar highlighting to guides when scrolling [ci skip]
2024-05-09 10:26:05 -03:00
Alex Ghiculescu
2194a738c7
Active Job: Correctly use the desired test adapter in tests
2024-05-09 17:35:50 +10:00
Nikita Vasilevsky
9cadf61835
Warn about changing query_constraints:
behavior
...
This commit adds a deprecation warning for the `query_constraints:`
association option. This option will change behavior in the future versions
of Rails and applications are encouraged to switch to `foreign_key:` to preserve the
current behavior.
2024-05-08 20:08:09 +00:00
Xavier Noria
dcbd6b0996
Revise the autoloading guide for middleware and friends
2024-05-07 06:25:02 -04:00
sunakan
8e7da61d51
Fix typo in configuring guide
2024-05-04 14:56:38 +09:00
Andrew Novoselac
2bcdfd2595
Update Getting Start With Rails guide to account for Dev Containers
...
Create a new guide called Getting Started with Dev Containers and link to it from the original Getting Started guide.
2024-05-03 08:53:20 -04:00
Akhil G Krishnan
03a07c16b6
Fix: guides styling issue on light mode
2024-05-03 15:35:44 +05:30
Akhil G Krishnan
3246b8cc0c
Update guides/source/getting_started.md
...
Co-authored-by: Justin Ko <jko170@gmail.com>
2024-05-02 20:11:50 +05:30
Akhil G Krishnan
ea66f754a6
Document .devcontainer to the file/folder structure of new application
2024-05-02 11:26:04 +05:30
Rafael Mendonça França
549144bff7
Merge pull request #51702 from akhilgkrishnan/fix-guides-broken-link
...
Add rake guides:lint task to raise error on broken anchor links
2024-05-01 19:24:33 -03:00
Rafael Mendonça França
b35df004fd
Remove deprecated Rails::Generators::Testing::Behaviour
2024-05-01 20:19:21 +00:00
Rafael Mendonça França
5085daf98e
Remove deprecated find_cmd_and_exec
console helper
2024-05-01 18:46:08 +00:00
Rafael Mendonça França
e38dfb2149
Remove deprecated Rails.config.enable_dependency_loading
2024-05-01 18:46:07 +00:00
Rafael Mendonça França
0c76f17f2d
Remove deprecated Rails.application.secrets
2024-05-01 18:46:04 +00:00
Rafael Mendonça França
c48aab17ce
Remove deprecated ActiveSupport::Notifications::Event#children
and ActiveSupport::Notifications::Event#parent_of?
2024-05-01 18:45:46 +00:00
Rafael Mendonça França
fc2dc7c8d3
Remove deprecated support to call the following methods without passing a deprecator
...
- `deprecate`
- `deprecate_constant`
- `ActiveSupport::Deprecation::DeprecatedObjectProxy.new`
- `ActiveSupport::Deprecation::DeprecatedInstanceVariableProxy.new`
- `ActiveSupport::Deprecation::DeprecatedConstantProxy.new`
- `assert_deprecated`
- `assert_not_deprecated`
- `collect_deprecations`
2024-05-01 18:45:45 +00:00
Rafael Mendonça França
c682bf2641
Remove deprecated ActiveSupport::Deprecation
delegation to instance
2024-05-01 18:45:44 +00:00
Rafael Mendonça França
a45bfd9ee9
Remove deprecated SafeBuffer#clone_empty
2024-05-01 18:45:43 +00:00
Rafael Mendonça França
be211227a0
Remove deprecated #to_default_s
from Array
, Date
, DateTime
and Time
2024-05-01 18:45:41 +00:00
Rafael Mendonça França
c33e2d2e49
Remove deprecated support to passing Dalli::Client
instances to MemCacheStore
2024-05-01 18:45:40 +00:00
Rafael Mendonça França
21f38d3d40
Remove deprecated config.active_support.use_rfc4122_namespaced_uuids
2024-05-01 18:45:37 +00:00
Rafael Mendonça França
e73e67ee99
Remove deprecated config.active_support.remove_deprecated_time_with_zone_name
2024-05-01 18:44:53 +00:00
Rafael Mendonça França
0e6859a237
Remove deprecated config.active_support.disable_to_s_conversion
2024-05-01 18:44:52 +00:00
Rafael Mendonça França
c4fdfc55fa
Remove deprecated support to bolding log text with positional boolean in ActiveSupport::LogSubscriber#color
2024-05-01 18:44:51 +00:00
Rafael Mendonça França
75981ade29
Remove deprecated constants ActiveSupport::LogSubscriber::CLEAR
and ActiveSupport::LogSubscriber::BOLD
2024-05-01 18:44:50 +00:00