aboutsummaryrefslogtreecommitdiffstats
path: root/guides
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #32401 from yhirano55/improve_css_in_guideRafael França2018-04-192-12/+2
|\ \ \ | |_|/ |/| | Improve css in guide
| * | Improve css in guideYoshiyuki Hirano2018-04-012-12/+2
| | | | | | | | | | | | | | | | | | | | | | | | * .clearfix is overridden. * .clear is not currently used. * #extraCol is not currently used. * table th, table td are overridden. Merged them. * Removed needless comment lines which are added on #6475
* | | [ci skip] Fix minor system testing documentation typo.Stephen2018-04-181-1/+1
| | |
* | | Merge pull request #32607 from yaroslav/feature/nonce-for-javascript_include_tagAndrew White2018-04-181-0/+6
|\ \ \ | | | | | | | | Add the `nonce: true` option for `javascript_include_tag` helper.
| * | | Add the `nonce: true` option for `javascript_include_tag` helper.Yaroslav Markin2018-04-171-0/+6
| | | |
* | | | Correct docs on naming of sprockets manifest filePaul2018-04-171-2/+2
|/ / / | | | | | | | | | Calling this an MD5 implies that it is generated consistently based on some input. However, this value is [completely random](https://github.com/rails/sprockets/blob/fbe6e450b6f25cf3ea494fcab0e34001d0b5a0b9/lib/sprockets/manifest_utils.rb#L11-L24).
* | | Merge pull request #32582 from cassidycodes/better-examplesRafael França2018-04-162-11/+11
|\ \ \ | | | | | | | | Inclusive Language in Documentation Examples
| * | | Use string-based fields. [ci skip]Cassidy Kobewka2018-04-161-4/+4
| | | |
| * | | Inclusive Language in Documentation Examples [ci skip]Cassidy Kobewka2018-04-152-11/+11
| | |/ | |/|
* | | Merge pull request #32596 from bogdanvlviv/add-reference-to-5_2-from-edge-guidesRyuta Kamizono2018-04-171-0/+1
|\ \ \ | | | | | | | | Add the reference to Rails Guides 5.2 from the Edge Guides
| * | | Add the reference to Rails Guides 5.2 from the Edge Guidesbogdanvlviv2018-04-171-0/+1
| |/ / | | | | | | | | | [ci skip]
* / / Update Rails minor version from 5.1 to 5.2 [ci skip]Jolyon Pawlyn2018-04-161-1/+1
|/ /
* | Update security.md with latest underground market pricesszTheory2018-04-131-1/+1
| | | | | | Updated underground market prices according to the 2017 Symantec ISTR (was previously citing the 2008 report)
* | Fix MySpace Samy worm link [ci skip]284km2018-04-121-1/+1
| | | | | | | | The old link https://samy.pl/popular/tech.html is 404 not found.
* | Remove link for the kindle version of guides on edgeRafael Mendonça França2018-04-111-1/+3
| | | | | | | | | | | | See https://github.com/rails/rails-docs-server/pull/8 for reason. [ci skip]
* | Specify which series I'm talking aboutRafael Mendonça França2018-04-101-1/+1
| | | | | | | | [ci skip]
* | Update our security policy to include all releases in the current seriesRafael Mendonça França2018-04-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | We don't want people to jump from the last release in the previous series (4.2) straing to the first release in the current series that is support (5.1), so we should be supporting the entire series for severe security issues. This will not be a problem because usually we only have 3 releases in a series and backporting patches inside the same series is not harder than backporting to a previous series.
* | 4.2 is still maintainedRafael Mendonça França2018-04-101-1/+1
| | | | | | | | It is the last major release series.
* | Merge pull request #32508 from radar/radar/maintenance-policyRyuta Kamizono2018-04-101-3/+3
|\ \ | | | | | | | | | | | | Correct Maintenance Policy for Rails 5.2 [ci skip]
| * | Correct Maintenance Policy for Rails 5.2Ryan Bigg2018-04-101-3/+3
| | |
* | | Update bug report templatesbogdanvlviv2018-04-105-5/+5
|/ / | | | | | | Set Rails 5.2.0 in templates
* | [ci skip] Add securing rails app guide link to credential sectionYoshiyuki Hirano2018-04-071-0/+3
| | | | | | | | * In 5.2 release note, added [securing rails app guide](http://edgeguides.rubyonrails.org/security.html#custom-credentials) link to [credentials section](http://edgeguides.rubyonrails.org/5_2_release_notes.html#credentials).
* | [ci skip] Add :private option to delegate section in guideYoshiyuki Hirano2018-04-041-0/+8
| |
* | removes obsolete images in guides [ci skip]Xavier Noria2018-04-032-0/+0
| | | | | | | | Note that tab_yellow.gif exists, that is the one being used.
* | remove obsolete author imagesXavier Noria2018-04-036-0/+0
| | | | | | | | The credits page is gone after #32429, these images are now orphan.
* | Cleanup credits related code as it is removed now in PR #32429Prathamesh Sonpatki2018-04-032-10/+1
| |
* | Remove credits.html from Rails GuidesYoshiyuki Hirano2018-04-036-89/+1
| | | | | | | | * refs #32420
* | Add `action_view.finalize_compiled_template_methods` config optionSimon Coffey2018-04-021-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ActionView::Template instances compile their source to methods on the ActionView::CompiledTemplates module. To prevent leaks in development mode, where templates can frequently change, a finalizer is added that undefines these methods[1] when the templates are garbage-collected. This is undesirable in the test environment, however, as templates don't change during the life of the test. Moreover, the cost of undefining a method is proportional to the number of descendants a class or module has, since the method cache must be cleared for all descendant classes. As ActionView::CompiledTemplates is mixed into every ActionView::TestCase (or in RSpec suites, every view spec example group), it can end up with a very large number of descendants, and undefining its methods can become very expensive. In large test suites, this results in a long delay at the end of the test suite as all template finalizers are run, only for the process to then exit. To avoid this unnecessary cost, this change adds a config option, `action_view.finalize_compiled_template_methods`, defaulting to true, and sets it to false in the test environment only. [1] https://github.com/rails/rails/blob/09b2348f7fc8d4e7191e70e06608c5909067e2aa/actionview/lib/action_view/template.rb#L118-L126
* | Not generate needless files in guidesYoshiyuki Hirano2018-04-021-25/+27
|/ | | | | | | Not generate needless files: * _license.html.erb, _welcome.html.erb are partial files. * layout.html.erb is the layout file.
* Merge pull request #32397 from yhirano55/remove_needless_images_in_guidesXavier Noria2018-03-3141-15/+10
|\ | | | | Remove needless images in guides
| * Remove needless images in guidesYoshiyuki Hirano2018-03-3128-5/+0
| |
| * Put images into each page's dir in guidesYoshiyuki Hirano2018-03-3113-10/+10
| |
* | Merge pull request #32395 from yhirano55/use_oxford_comma_style_in_guideAndrew White2018-03-311-1/+1
|\ \ | |/ |/| [ci skip] Use Oxford comma style in guide
| * [ci skip] Use Oxford comma style in guideYoshiyuki Hirano2018-03-311-1/+1
| |
* | Revert "[ci skip] Capitalize sentence of first char in AS guide"Andrew White2018-03-311-1/+1
|/ | | | | | | The text is a continuation of the sentence before the listing so doesn't need to begin with a capital letter. This reverts commit 77a7acafba11fccac8b4cf30a9ce62d43a9ac186.
* Merge pull request #32392 from ↵Andrew White2018-03-311-1/+1
|\ | | | | | | | | yhirano55/capitalize_sentence_of_first_char_in_as_guide [ci skip] Capitalize sentence of first char in AS guide
| * [ci skip] Capitalize sentence of first char in AS guideYoshiyuki Hirano2018-03-311-1/+1
| |
* | Merge pull request #32389 from yhirano55/add_earlier_releases_in_guidesRyuta Kamizono2018-03-311-1/+3
|\ \ | | | | | | Add earlier releases v3.0, v3.1 in guides
| * | Add earlier releases links v3.0 and v3.1 in guidesYoshiyuki Hirano2018-03-311-1/+3
| | |
* | | Merge pull request #32388 from yhirano55/remove_useless_stylesheet_file_in_guideRyuta Kamizono2018-03-311-50/+0
|\ \ \ | | | | | | | | Remove useless stylesheet file in guide
| * | | Remove useless stylesheet file in guideYoshiyuki Hirano2018-03-311-50/+0
| |/ /
* | / [ci skip] Modify twitter api link in api guideYoshiyuki Hirano2018-03-311-1/+1
| |/ |/| | | | | * The twitter developer site's url was changed.
* | Merge pull request #32277 from derekprior/dp-deprecate-force-sslGuillermo Iguaran2018-03-303-20/+14
|\ \ | |/ |/| Deprecate controller level force_ssl
| * Deprecate controller level force_sslDerek Prior2018-03-303-20/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Today there are two common ways for Rails developers to force their applications to communicate over HTTPS: * `config.force_ssl` is a setting in environment configurations that enables the `ActionDispatch::SSL` middleware. With this middleware enabled, all HTTP communication to your application will be redirected to HTTPS. The middleware also takes care of other best practices by setting HSTS headers, upgrading all cookies to secure only, etc. * The `force_ssl` controller method redirects HTTP requests to certain controllers to HTTPS. As a consultant, I've seen many applications with misconfigured HTTPS setups due to developers adding `force_ssl` to `ApplicationController` and not enabling `config.force_ssl`. With this configuration, many application requests can be served over HTTP such as assets, requests that hit mounted engines, etc. In addition, because cookies are not upgraded to secure only in this configuration and HSTS headers are not set, it's possible for cookies that are meant to be secure to be sent over HTTP. The confusion between these two methods of forcing HTTPS is compounded by the fact that they share an identical name. This makes finding documentation on the "right" method confusing. HTTPS throughout is quickly becomming table stakes for all web sites. Sites are expected to operate over HTTPS for all communication, sensitive or otherwise. Let's encourage use of the broader-reaching `ActionDispatch::SSL` middleware and elminate this source of user confusion. If, for some reason, applications need to expose certain endpoints over HTTP they can do so by properly configuring `config.ssl_options`.
* | Merge pull request #32299 from davidstosik/expose-fk-ignore-patternGuillermo Iguaran2018-03-271-1/+7
|\ \ | | | | | | Expose foreign key name ignore pattern in configuration
| * | Move fk_ignore_pattern from config.active_record to SchemaDumperDavid Stosik2018-03-221-7/+7
| | | | | | | | | | | | | | | This makes more sense, as the foreign key ignore pattern is only used by the schema dumper.
| * | Document config.active_record.fk_ignore_patternDavid Stosik2018-03-201-0/+6
| | |
* | | Readability fix [ci skip]Isaac Orme2018-03-251-1/+1
| | |
* | | Merge pull request #31869 from BKSpurgeon/patch-1Ryuta Kamizono2018-03-221-12/+16
|\ \ \ | |/ / |/| | | | | [ci skip] Update Action Mailer Documentation
| * | Update documentation [ci skip]Ben Koshy2018-02-021-12/+15
| | | | | | | | | Remove superfluous repetition and place them in a common section. [ci skip]