| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Since we have `has_secure_token`, it is too confusing to use `_token`
suffix with `has_secure_password`.
Context https://github.com/rails/rails/pull/33307#discussion_r200807185
|
|\
| |
| |
| |
| | |
bogdanvlviv/improve-docs-test-of-has_secure_password
Improve docs/test of `has_secure_password`
|
| |
| |
| |
| |
| | |
`has_secure_password` allows configuring name of attribute since #26764.
This commit adds a mention about it in the Active Model Basics Guide.
|
|\ \
| |/
|/|
| |
| | |
Specify location for engine-specific commands
[ci skip]
|
| |
| |
| |
| |
| |
| | |
Be more specific when pointing out where the commands relating
to the engine should be run
[ci skip]
|
|\ \
| |/
|/| |
Adds `Rails::Command::NotesCommand` and makes `rake notes` use it under the hood
|
| |
| |
| |
| |
| |
| | |
* Get rid of references to rake notes in the documentation
* Get rid of references to environement variables used in SourceAnnotationExtractor
* Updates the command line guide to reflect the new rails notes API
|
|\ \
| | |
| | | |
Change location for running copy migrations command
|
| |/
| |
| |
| | |
This fixes the location from where the command to copy migrations from the engine to the application should be run
[ci skip]
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | |
| | | |
dikond/explicit_action_mailer_deliver_later_queue_name
Note deliver_later_queue_name gotcha in ActionMailer guide
|
| | | |
|
| | |
| | |
| | |
| | | |
[ci skip]
It adds a note to the Active Storage documentation regarding the use of Mirror Service not being compatible with the use of the Direct Uploads as described later on in the documentation, as described in issue #32732
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
[ci skip] Improved wording by making it clear the form_with
helper method was being referenced in the first paragraph and
that the second paragraph is a continuation of the form_with
train of thought. Additionally, a connection was made to examples
of the form_with usage being described.
|
|/ /
| |
| |
| |
| |
| | |
This list in the menu is currently long, and the order of the items not
immediately obvious. I often find my self rescanning to find what I'm
looking for, so I imagine that others do to.
|
| |
| |
| |
| | |
[Jon Moss & Xavier Noria]
|
| |
| |
| | |
Also fix syntax highlighting in the more advanced JS example.
|
| | |
|
| |
| |
| |
| |
| |
| | |
config.active_support.use_authenticated_message_encryption [ci skip]
related to https://github.com/rails/rails/issues/33170
|
| |
| |
| |
| | |
It is necessary to specify a value to `config.active_storage`.
|
| |
| |
| | |
Since the ability to whitelist arbitrary hashes was added (https://github.com/rails/rails/issues/9454 was resolved by https://github.com/rails/rails/commit/e86524c0c5a26ceec92895c830d1355ae47a7034), this example is no longer outside of what strong_params can do. Moved this specific example out of the "Outside the Scope" section and into the regular "Examples" section, but left the "Outside the Scope" section as it was since the advice is still relevant for weirder whitelisting situations (maybe someone wants to add a new example that can't be handled natively).
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Remove general sentence that explains that all methods that Active Support
brings to `Date` `Time`, `DateTime` are defined in
`active_support/core_ext/date/calculations.rb` since it isn't true.
Add a references to an appropriate file where methods are defined
like it is done with the other methods in this guide.
Context https://github.com/rails/rails/pull/32552#discussion_r181216246
Related to #32543, #32552
[ci skip]
|
| | |
|
| |
| |
| |
| | |
Add mention about default value of `config.active_model.i18n_full_message`.
|
|\ \
| | |
| | | |
Fix active_model/errors docs [ci skip]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Fix indentation.
- Add a missing dot to the end of the sentence.
Related to #32956
|
| | |
| | |
| | |
| | | |
[ci skip]
|
|\ \ \
| | | |
| | | | |
Remove ineffective no-warnings flags from Contribute guide
|
| | | |
| | | |
| | | |
| | | | |
This is not working. [ci skip]
|
|\ \ \ \
| |_|/ /
|/| | | |
Dev-Dep guide: mention AST third party requirements
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Avoid the likes of:
```
Error:
ActiveStorage::RepresentationTest#test_representing_an_MP4_video:
Errno::ENOENT: No such file or directory - ffmpeg
test/models/representation_test.rb:27:in `block in <class:RepresentationTest>'
```
Also note additiona macOS requirements in ActiveStorage guide.
[ci skip]
|
|\ \ \
| | | |
| | | | |
Allow to override the full_message error format
|
| | | | |
|
| |/ /
|/| |
| | |
| | |
| | |
| | | |
guides [ci skip]
Follow up of 3915a47.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Clarify executor of `public_send`.
- Do not wrap `Interval.all_day` into [] since
an array is expected as a returned value.
Related to #32523.
[ci skip]
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix testing guide typo
|
| | | | |
|
|/ / /
| | |
| | |
| | |
| | | |
`Rails.application.config.assets.unknown_asset_fallback` now defaults to `false` in an unmodified Rails application.
[ci skip]
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
ybakos/guides/layouts_and_rendering_class_spelling_fix
Capitalize class name 'Product' in layouts and rendering guide.
|
| | |/
| |/|
| | |
| | |
| | | |
In this context, the phrase 'product instance' refers to the Product class,
so capitalize it.
|
|/ /
| |
| |
| |
| | |
The prior sentence is referring just to an existing user object, so
the sudden magical 'Current.' prefix doesn't make sense. Remove it.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
[ci skip] A regular expression was used to find a lot of missing Oxford
commas and add them. The regular expression was as follows.
", ([a-zA-Z0-9.\`:'\"]+ ){1,6}(or|and) "
|