aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* Update security guide for signed cookie rotationsMichael Coyne2017-10-091-2/+3
| | | | | The example was slightly incorrect. This commit also adds a test case for this example to cookies middleware unit tests.
* Merge pull request #30839 from yhirano55/use_form_with_in_engine_guideRyuta Kamizono2017-10-092-9/+9
|\ | | | | Use `form_with` instead of `form_for` in engine guide [ci skip]
| * Use `form_with` instead of `form_for` in engine guide [ci skip]Yoshiyuki Hirano2017-10-092-9/+9
| |
* | Merge pull request #30838 from ↵Ryuta Kamizono2017-10-091-19/+21
|\ \ | | | | | | | | | | | | yhirano55/fix_rails_routes_log_in_getting_started_guide Fix the result of `rails routes` in Guide [ci skip]
| * | Fix the result of `rails routes` in Guide [ci skip]Yoshiyuki Hirano2017-10-091-19/+21
| |/
* / Fix default of `String#to_time` [ci skip]yuuji.yaginuma2017-10-081-1/+1
|/ | | | The default of `String#to_time` is `:local` since b79adc4.
* Merge pull request #30822 from akshay-vishnoi/fix-typoRyuta Kamizono2017-10-072-2/+2
|\ | | | | [ci skip] Fix typo
| * [ci skip] Fix typoAkshay Vishnoi2017-10-072-2/+2
| |
* | Update Instrumentation guide for Active Storage [ci skip]Yoshiyuki Hirano2017-10-071-0/+47
| |
* | Add v5.1 to earlier releases list in guide [ci skip]Yoshiyuki Hirano2017-10-071-0/+1
|/
* Cosmetic fixes [ci skip]Yauheni Dakuka2017-10-0616-25/+25
|
* Merge pull request #30734 from oreoshake/patch-1Eileen M. Uchitelle2017-10-041-2/+2
|\ | | | | Encourage html-safe API in layouts/rendering guide
| * Encourage html-safe API in layouts/rendering guideNeil Matatall2017-09-271-2/+2
| | | | | | | | | | | | | | While the code example was not unsafe, it encourages the use of confusingly unsafe APIs (specifically `html_safe`). We have a safe alternative and we should encourage people to use it under all circumstances.
* | Add link to Rack websiteAntonio Tapiador del Dujo2017-10-021-1/+1
| | | | | | | | | | | | | | Resemble links to Bundler and Yarn, based on feedback by @kamipo [ci skip]
* | Fix broken link to recaptcha.net [ci skip]Patrick Davey2017-10-011-1/+1
| | | | | | | | | | The link to recaptcha.net returns a 404. As far as I can tell, the new link ought to be to https://developers.google.com/recaptcha/ .
* | [ci skip] Fix typo.Conrad Beach2017-09-281-1/+1
| |
* | Deprecate secret_token, long since usurped by secret_key_base.Kasper Timm Hansen2017-09-282-2/+0
|/ | | | | | | | | | See the changelog entry. Remove `secrets.secret_token` from the bug report templates, since we don't accept bug reports for Rails versions that don't support a `secret_key_base`. [ claudiob & Kasper Timm Hansen ]
* Add newlines before/after the `git_source` in bug report templatesRyuta Kamizono2017-09-2711-0/+22
| | | | [ci skip]
* Change :github git source for bug report templatesbogdanvlviv2017-09-2711-0/+11
| | | | | | | :github source uses `git://` url by default, `https://` is recommended. See http://bundler.io/v1.15/guides/git.html#security We do the same in our `Gemfile` and templates.
* Merge pull request #30713 from yhirano55/add_a_space_to_refinery_cmsJavan Makhmali2017-09-261-1/+1
|\ | | | | Add a space to RefineryCMS in Engine guide [ci skip]
| * Add an space to RefineryCMS in Engine guide [ci skip]Yoshiyuki Hirano2017-09-261-1/+1
| | | | | | | | | | * According to the official website, it seems that "RefineryCMS" is "Refinery CMS". * See at: http://www.refinerycms.com/
* | Fix typo in 'find_in_batches' examplehupfis2017-09-261-1/+1
| |
* | [ci skip] Don't mention unrotatable secret_key_base.Kasper Timm Hansen2017-09-251-18/+20
|/
* Merge pull request #30704 from ydakuka/new-fixesRyuta Kamizono2017-09-252-3/+3
|\ | | | | New missing backquotes [ci skip]
| * new missing backquotes [ci skip]Yauheni Dakuka2017-09-252-3/+3
| |
* | Merge pull request #30615 from yhirano55/update_form_helpers_guideRyuta Kamizono2017-09-251-7/+11
|\ \ | | | | | | Update Form Helpers guide [ci skip]
| * | Update Form Helpers guide to fix example codes [ci skip]Yoshiyuki Hirano2017-09-171-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | * It looks that example codes are not based on actual output. So I've fixed it. * Specifically: * There are no lines about utf-8 and authenticity_token. * The submit button doesn't have data-disabled-with attribute. * Each attribute order of html element is different from actual ones.
* | | [ci skip] Attempt a new explanation for rotations.Kasper Timm Hansen2017-09-242-32/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It's become clear to me that the use case is still a bit muddy and the upgrade path is going to be tough for people to figure out. This attempts at understanding it better through documentation, but still needs follow up work. [ Michael Coyne & Kasper Timm Hansen ]
* | | [ci skip] RotationConfiguration is an implementation detail, not public API.Kasper Timm Hansen2017-09-241-7/+4
| | |
* | | Merge pull request #29716 from mikeycgto/active-support-key-rotatorKasper Timm Hansen2017-09-242-19/+122
|\ \ \ | | | | | | | | Add Key Rotation to MessageEncryptor and MessageVerifier and simplify the Cookies middleware
| * | | Add key rotation cookies middlewareMichael Coyne2017-09-242-19/+122
| | |/ | |/| | | | | | | | | | | | | Using the action_dispatch.cookies_rotations interface, key rotation is now possible with cookies. Thus the secret_key_base as well as salts, ciphers, and digests, can be rotated without expiring sessions.
* | | [ci skip] Fix the with order and explain it.Kasper Timm Hansen2017-09-241-3/+8
| | |
* | | Merge pull request #30593 from BigChief45/guides/action-mailer-parameterizedKasper Timm Hansen2017-09-241-29/+48
|\ \ \ | | | | | | | | Update Action Mailer Basics [ci skip]
| * | | Update Action Mailer Basics [skip ci]Jaime Alvarez2017-09-241-29/+48
| | | |
* | | | Merge pull request #30668 from yhirano55/fix_api_guideRyuta Kamizono2017-09-241-1/+0
|\ \ \ \ | | | | | | | | | | Fix rails middleware list in api_app guide [ci skip]
| * | | | Fix rails middleware list in api_app guide [ci skip]Yoshiyuki Hirano2017-09-241-1/+0
| | | | | | | | | | | | | | | | | | | | * `MyApi::Application::Routes` is not middleware.
* | | | | Fix email in Active Support Instrumentation [ci skip]Yoshiyuki Hirano2017-09-241-2/+2
| |_|/ / |/| | | | | | | | | | | * `s/ddh/dhh/`
* | | | Update link in The Asset Pipeline guide [ci skip]Yoshiyuki Hirano2017-09-211-1/+1
|/ / /
* | | Update Rails Guides about :autosave optionAnton Chumakov2017-09-201-4/+4
| | |
* | | Merge pull request #30624 from bogdanvlviv/deprecate_Module_reachableSean Griffin2017-09-201-39/+0
|\ \ \ | | | | | | | | Deprecate `Module#reachable?` method
| * | | Remove mentions about `Module#reachable?` in "Active Support Core ↵bogdanvlviv2017-09-171-39/+0
| | | | | | | | | | | | | | | | Extensions" guide
* | | | Merge pull request #30616 from yhirano55/update_layouts_and_renderingEileen M. Uchitelle2017-09-201-17/+19
|\ \ \ \ | | | | | | | | | | Update Layouts and Rendering in Rails [ci skip]
| * | | | Update Layouts and Rendering in Rails [ci skip]Yoshiyuki Hirano2017-09-171-17/+19
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * The example code on this page are similar to ones generated by scaffold generator, but some points are different. * Of course, it is no reason to be as same as scaffolding codes. But this is the guide for beginners, I thought it's better to be almost same as scaffolding codes.
* | | | Merge pull request #30623 from manojmj92/manojmj92-oo-key-patchJavan Makhmali2017-09-201-1/+1
|\ \ \ \ | | | | | | | | | | make documentation consistent with KeyError message
| * | | | Fix error message documentationManoj M J2017-09-201-1/+1
| | |/ / | |/| |
* | | | Use credentials, not secrets, for Active Storage (#30650)Claudio B2017-09-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to #30067: > This PR will deprecate secrets.yml* and instead adopt > config/credentials.yml.enc to signify what these secrets are specifically > for: Keeping API keys, database passwords, and any other integration > credentials in one place. [ci skip] since only comments are being edited.
* | | | Update action_controller_overview.md [ci skip]Yauheni Dakuka2017-09-193-4/+4
| | | |
* | | | Use ApplicationJob instead of ActiveJob::Base in guide [ci skip]Yoshiyuki Hirano2017-09-181-1/+1
| | | |
* | | | add section to guides for discarding and retrying active jobs [ci skip]Gerard Cahill2017-09-181-0/+19
| | | |
* | | | Merge pull request #30642 from ydakuka/quotesRyuta Kamizono2017-09-182-5/+5
|\ \ \ \ | | | | | | | | | | Fix quotes [ci skip]