aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
* [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]
| * | | | Fix quotes [ci skip]Yauheni Dakuka2017-09-182-5/+5
| | | | |
* | | | | Upcase js [ci skip]Yauheni Dakuka2017-09-181-2/+2
|/ / / /
* | | | Remove "the" [ci skip]Yauheni Dakuka2017-09-181-1/+1
| | | |
* | | | Merge pull request #30637 from ↵Ryuta Kamizono2017-09-181-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | bogdanvlviv/add_round_bracket_in_5_1_release_notes Add missing round bracket in "Ruby on Rails 5.1 Release Notes" guide [ci skip]
| * | | | Add missing round bracket in "Ruby on Rails 5.1 Release Notes" guidebogdanvlviv2017-09-171-1/+1
| |/ / / | | | | | | | | | | | | [ci skip]
* / / / Update plugins.md [ci skip]Yauheni Dakuka2017-09-171-1/+1
|/ / /
* | | Merge pull request #30618 from y-yagi/fix_credentailsRyuta Kamizono2017-09-161-3/+3
|\ \ \ | |/ / |/| | Fix typo: `credentails` -> `credentials` [ci skip]
| * | Fix typo: `credentails` -> `credentials` [ci skip]yuuji.yaginuma2017-09-161-3/+3
| | | | | | | | | | | | Follow up of ca18922ac23be2cde6963fae9b193c9111bec6f8
* | | Update Getting Started with Rails [ci skip]Yoshiyuki Hirano2017-09-151-4/+4
|/ /
* | Merge pull request #30598 from yhirano55/update_activejob_basicsRyuta Kamizono2017-09-141-0/+1
|\ \ | | | | | | Update Active Job Basics [ci skip]
| * | Update Active Job Basics [ci skip]Yoshiyuki Hirano2017-09-141-0/+1
| |/ | | | | | | * Add Sneakers link to documentation list.
* | [ci skip] Prefer credentials to secrets in docs.Kasper Timm Hansen2017-09-133-48/+29
| | | | | | | | | | | | | | Removes most mentions of secrets.secret_key_base and explains credentials instead. Also removes some very stale upgrade notices about Rails 3/4.
* | Update Getting Started with Rails [ci skip]Yoshiyuki Hirano2017-09-141-0/+2
|/
* Fix created_at [ci skip]Yauheni Dakuka2017-09-131-1/+1
|
* Remove not used gems by default [ci skip]yuuji.yaginuma2017-09-111-2/+0
| | | | | | | | | `rack-mount` switched to journey with 5f0b37c. Also, `rack-cache` will not be used unless you explicitly specify it. Ref: https://github.com/rails/rails/commit/037e50ec39c7c3d58a102a6584e2740652420d1d https://github.com/rails/rails/commit/1fc795468525d8622cdca474a54c8310a514aa46
* fix type fully qualified [ci skip]Yauheni Dakuka2017-09-061-3/+3
|
* Clarify intentions around method redefinitionsMatthew Draper2017-09-011-1/+5
| | | | | | | | | Don't use remove_method or remove_possible_method just before a new definition: at best the purpose is unclear, and at worst it creates a race condition. Instead, prefer redefine_method when practical, and silence_redefinition_of_method otherwise.
* In Action View Overview guide, remove reference to custom helpersLuke Persola2017-08-301-1/+1
| | | | [ci skip]
* Merge pull request #29964 from gwincr11/cg-partial-cachingEileen M. Uchitelle2017-08-301-0/+18
|\ | | | | Add documentation about template partial caching
| * Add documentation about template partial cachingCory Gwin @gwincr112017-08-301-3/+21
| | | | | | | | | | | | | | Motivation: - #29423 surfaced some confusion about how template caching works when using partials across files with different mime types. This doc attempts to explain how this can be accomplished.
* | Use YAML syntax highlight for `config/locales/en.yml` [ci skip]Ryuta Kamizono2017-08-291-1/+1
| |
* | It should be "the resulting cache key", not "the resulting `cache-key`" [ci ↵Ryuta Kamizono2017-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | skip] This is a partial revert of 07402aa1307a4ff71b4ef6581f95b8612238a6af. I also changed "cache-key" to "cache key" because "cache-key" appears only once in the repo. ``` % git grep '\bcache-key\b' | wc -l 1 % git grep '\bcache key\b' | wc -l 28 ```