| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Removed mentions of non-existent methods, also added a mention for
`Date.current`, which is analagous to `Time.current`. Closes #16061.
|
| |
|
| |
|
|\
| |
| | |
Add arel to the controller template [ci skip]
|
| | |
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This should prevent some anxiety readers may experience when the doc goes into something different than what it just explained. Also clarifies a statement about priority in engines and application environments
[ci skip] fixes double `the`
[ci skip] more clarifications
[ci skip] changes from tics to quotes
|
| |
|
|\
| |
| |
| |
| |
| | |
lengarvey/add_configuration_option_for_mail_preview
Add configuration to enable mail previews
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adds `config.action_mailer.preview_enabled`
This allows mail previewing to be enabled easily in non-development
environments such as staging. The default is set to true for development
so no changes should be required to existing Rails applications.
The mail preview path can still be configured using the existing
`config.action_mailer.preview_path` configuration option.
Adding this avoids devs from having to do stuff like:
https://gist.github.com/lengarvey/fa2c9bd6cdbeba96526a
Update actionmailer/CHANGELOG with new configuration.
Update configuring guide with new configuratation.
Add `config.action_mailer.preview_path` to configuring guide.
|
| | |
|
| |
| |
| |
| |
| | |
Currently there is no implicit conversion for Mail::Body to string
therefore .to_s must be applied. This is exampled in 10.2.2.
|
| | |
|
|/
|
|
| |
[ci skip]
|
|\
| |
| | |
Add punctuation and fix capitalization in Getting Started guide
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fix more small grammar mistakes in the [Getting Started guide](http://edgeguides.rubyonrails.org/getting_started.html#security), in sections 9 and 10.
Specifically, within sections 9.1 “Basic Authentication”, 9.2 “Other Security Considerations”, and 10 “What's Next?”.
“Rails Guides” is generally capitalized on the site, including on the linked page and in the title of the site, so I capitalized it.
“The” is not part of the name of the Ruby on Rails Security Guide – “The” is not in the title on that page.
And I added a missing period and a missing colon at the ends of two sentences.
|
|\ \
| |/
|/| |
[ci skip] Fix router option reference in 4.2 release notes.
|
| | |
|
|\ \ |
|
| | | |
|
|\ \ \
| | | |
| | | | |
Update the levenshtein distance method in guides.
|
| | |/
| |/| |
|
|/ /
| |
| |
| | |
Within section 5.10 Adding Some Validation
|
|\ \
| | |
| | |
| | |
| | |
| | | |
Add always permitted parameters as a configurable option.
[Rafael Mendonça França + Gary S. Weaver]
|
| | |
| | |
| | |
| | |
| | |
| | | |
* General style fixes.
* Add changes to configuration guide.
* Add missing tests.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Wrap list items to 80 chars and avoid relying on NOTE inside an item
since they are meant to be parsed in paragraphs, not lists.
[ci skip]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Reliant on https://github.com/rails/rails/pull/15747 but pulled to a
separate PR to reduce noise. `has_many :through` associations have the
undocumented behavior of automatically detecting counter caches.
However, the way in which it does so is inconsistent with counter caches
everywhere else, and doesn't actually work consistently.
As with normal `has_many` associations, the user should specify the
counter cache on the `belongs_to`, if they'd like it updated.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Noticed that there was no section about Action View and added the heading.
Notable changes need to be compiled.
/cc @chancancode @zzak
|
| | |
| | |
| | |
| | |
| | |
| | | |
[ci skip]
/cc @chancancode @zzak
|
|\ \ \
| | | |
| | | | |
Improves readability of this line...
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Add warning section for `rescue_from Exception` in Guides
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ci skip]
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Add rails:update to the upgrading guides
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
/cc @chancancode @robin850
configuration reference: http://alexgorbatchev.com/SyntaxHighlighter/manual/configuration/
Related issues:
* https://github.com/vmg/redcarpet/issues/334
* https://github.com/docrails-tw/guides/issues/62
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Moved explanation of `--mountable` option up
|
| | | | | |
| | | | | |
| | | | | | |
The example code uses `--mountable`. In previous version this was followed by an explanation of the `--full` option, which doesn't make sense. Later on in the text this is better explained. I moved this explanation up without repeating too much.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Change double quotes to single quotes in guide
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Improve consistency
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
[ci skip] Added missing colon in asset manifest JSON
|
| | | | | | | |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] Add Tip for change_column_null and change_column_default in guides
|