aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Protect from forgery by defaultLisa Ugray2017-07-101-0/+2
| | | | | | | | Rather than protecting from forgery in the generated ApplicationController, add it to ActionController::Base by config. This configuration defaults to false to support older versions which have removed it from their ApplicationController, but is set to true for Rails 5.2.
* [ci skip] Updated language on validations.Daniel Castro2017-07-091-2/+2
|
* Clarify i18n guide for how pluralization rules work by defaultSage Ross2017-07-071-2/+20
| | | | The guide misleadingly indicates that the I18n gem will apply the CLDR pluralization rules for each language. This is not the case; only the English algorithm, with support for :zero, :one, and :other, is available by default. Locale-specific pluralization rules require additional configuration and must be supplied by the application (or by another gem).
* Merge pull request #29668 from y-yagi/add_missing_status_code_and_symbolArun Agrawal2017-07-041-0/+2
|\ | | | | Add missing http status codes [ci skip]
| * Add missing http status codes [ci skip]yuuji.yaginuma2017-07-041-0/+2
| | | | | | | | | | Ref: https://github.com/rack/rack/commit/5401f776f660b1f8d0e0650ba78478d7488eff75, https://github.com/rack/rack/commit/73e08279d4433ca66cf22157a40dba562629031a
* | Merge pull request #29534 from y-yagi/clear_screenshots_in_tmp_clear_taskEileen M. Uchitelle2017-07-011-7/+8
|\ \ | |/ |/| Clear screenshots files in `tmp:clear` task
| * Clear screenshots files in `tmp:clear` taskyuuji.yaginuma2017-06-271-7/+8
| | | | | | | | | | | | | | | | | | If system test fails, it creates screenshot under `tmp/screenshots`. https://github.com/rails/rails/blob/34fe2a4fc778d18b7fe6bdf3629c1481bee789b9/actionpack/lib/action_dispatch/system_testing/test_helpers/screenshot_helper.rb#L45 But currently, screenshot files is not cleared by `tmp:clear` task. This patch make clears screenshot files with `tmp:clear` task as well as other tmp files.
* | [ci skip] run migration before looking at schemaSai Prashanth2017-06-301-2/+2
| |
* | Specify correct extension for text layoutsJorge Dias2017-06-291-1/+1
| | | | | | When using render plain the extension for the layout needs to be .text.erb instead of .txt.erb
* | Fix grammar for documentation of rails/command.rb [ci skip]James Bush2017-06-281-1/+1
| |
* | Document ActiveRecord's PostgreSQL-specific support for JSONB datatype in ↵Marc Rendl Ignacio2017-06-271-1/+6
|/ | | | | | RailsGuides [ci skip]
* Update security.mdYauheni Dakuka2017-06-261-1/+1
|
* Guides: Clarify partial local variable naming.Yong Bakos2017-06-231-1/+1
| | | | | Clarify the partial local variable name as being the same as the name of the partial, minus the _leading_ underscore.
* Fix hash conditions documentation [ci skip]Abraham Chan2017-06-221-2/+0
|
* [ci skip] Fixed the attribute name for event.detailPrathamesh Sonpatki2017-06-201-3/+3
|
* Merge pull request #29493 from y-yagi/deprecate_capifyRafael França2017-06-191-8/+0
|\ | | | | Deprecate an `capify!` method in generators and templates
| * Deprecate an `capify!` method in generators and templatesyuuji.yaginuma2017-06-181-8/+0
| | | | | | | | | | | | | | | | | | The `capify` command has been removed by Capistrano 3 and became to `cap install`. Therefore, the `capify!` method has no meaning in Capistrano 3. I think that should deprecate. Ref: https://github.com/capistrano/capistrano/commit/492793916acf32ffe1604daec6fd4892c8935018
* | [ci skip] Update fedora SQLite3 package nameutilum2017-06-171-1/+1
|/
* Remove references to deprecared raise_runtime_errors from documentation, ↵Vipul A M2017-06-172-16/+0
| | | | which is always enabled now. Ref: https://github.com/rails/sprockets-rails/commit/655b93bffc6f51b96a7cc097f9010942693bfaae and https://github.com/rails/rails/pull/24070 . Fixes #29483 [ci skip] (#29484)
* Updated `working with javascript` readme to support the behavior of rails-ujs.Dmytro Vasin2017-06-151-0/+29
|
* Add brakeman to guides/additional resources. Fixes #29383 [ci skip] (#29427)Vipul A M2017-06-121-3/+4
|
* Missing dots [ci skip] (#29414)Vipul A M2017-06-111-4/+4
|
* Merge pull request #29268 from gsamokovarov/delegate-missing-to-guidesVipul A M2017-06-111-0/+21
|\ | | | | Document Module#delegate_missing_to in the guides [ci skip]
| * Document Module#delegate_missing_to in the guidesGenadi Samokovarov2017-06-111-0/+21
| | | | | | | | | | Added a small section for it in the `Active Support Core Extensions` guide. [ci skip]
* | [ci skip] Add backquote to :counter_cache optionYohei Yasukawa2017-06-101-1/+1
| |
* | [ci skip] Fix link in active_record_postgresql.mdYauheni Dakuka2017-06-091-1/+1
| |
* | Merge pull request #29397 from ydakuka/patch-1Vipul A M2017-06-091-1/+1
|\ \ | | | | | | Fix link in active_record_postgresql.md [ci skip]
| * | Fix link in active_record_postgresql.mdYauheni Dakuka2017-06-091-1/+1
| | |
* | | remove the extra comma in association_basics.mdYauheni Dakuka2017-06-091-1/+1
|/ /
* | Update upgrading guide w.r.t. Parameters to use other example method than ↵edwardmp2017-06-061-1/+1
| | | | | | | | slice as this has actually been implemented by Parameters
* | Remove invalid entry from the guides index pageRobin Dupret2017-06-061-5/+0
| | | | | | | | | | | | | | Commit 1a5d9399 removed the "Profiling Rails Applications" guide but the YAML entry for this guide wasn't. [ci skip]
* | Tiny documentation fixes [ci skip]Robin Dupret2017-06-061-3/+3
| |
* | Remove deprecated passing of string to :if/:unless (#29357)Joe Francis2017-06-061-1/+1
| | | | | | | | | | Other examples were removed in 53ff5fc62f9d11b6f60d371df959137f4bf40728 [ci skip]
* | Use mattr_accessor default: option throughout the projectGenadi Samokovarov2017-06-032-9/+5
| |
* | Change default application.js included in new Rails app [ci skip]Koichi ITO2017-06-031-3/+3
| |
* | Merge pull request #29101 from ccarruitero/system_guideEileen M. Uchitelle2017-06-021-10/+8
|\ \ | | | | | | some typos and rephrasing in system test guide [ci skip]
| * | some typos and rephrasing in system test guide [ci skip]Cesar Carruitero2017-05-161-10/+8
| | |
* | | Merge pull request #29315 from mariochavez/driven_by_support_headless_driversEileen M. Uchitelle2017-06-021-2/+3
|\ \ \ | | | | | | | | SystemTesting::Driver can register capybara-webkit and poltergeist
| * | | SystemTesting::Driver can register capybara-webkit and poltergeistMario Alberto Chávez2017-06-021-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drivers. When using `driver_by` with capybara-webkit or poltergeist, SystemTesting::Driver will register the driver while passing `screen_size` and `options` parameteres. `options` could contain any option supported by the underlying driver.
* | | | Replace an outdated mention of `jquery_ujs` with `rails-ujs` [ci skip]Dzianis Dashkevich2017-06-011-2/+2
|/ / /
* | | Fix articles layout in guides by eliminating W3C validator warnings [ci skip]Dzianis Dashkevich2017-06-011-0/+1
| | |
* | | Replace therubyracer with mini_racerSam2017-05-302-2/+2
| | |
* | | Grammar fixesJon Moss2017-05-291-2/+2
| | | | | | | | | | | | [ci skip]
* | | Remove extra block for `assert_changes` [ci skip]Ryuta Kamizono2017-05-301-1/+1
| | |
* | | List assert_{,no_}changes in the testing guideGenadi Samokovarov2017-05-291-0/+2
| |/ |/| | | | | | | This lists the `assert_changes` and `assert_no_changes` methods in the guides. [ci skip]
* | Merge pull request #29257 from ↵Kasper Timm Hansen2017-05-281-3/+1
|\ \ | | | | | | | | | | | | clupprich/remove-action-dispatch-callbacks-to-prepare-mention Remove mentions of deprecated callbacks on ActionDispatch::Callbacks
| * | Remove mentions of deprecated callbacks on ActionDispatch::CallbacksChristoph Lupprich2017-05-281-3/+1
| | | | | | | | | | | | | | | ActionDispatch::Callbacks.to_prepare was removed in #27587 [ci skip]
* | | Merge pull request #28132 from mikeycgto/aead-encrypted-cookiesKasper Timm Hansen2017-05-282-10/+21
|\ \ \ | |/ / |/| | AEAD encrypted cookies and sessions
| * | AEAD encrypted cookies and sessionsMichael Coyne2017-05-222-10/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes encrypted cookies from AES in CBC HMAC mode to Authenticated Encryption using AES-GCM. It also provides a cookie jar to transparently upgrade encrypted cookies to this new scheme. Some other notable changes include: - There is a new application configuration value: +use_authenticated_cookie_encryption+. When enabled, AEAD encrypted cookies will be used. - +cookies.signed+ does not raise a +TypeError+ now if the name of an encrypted cookie is used. Encrypted cookies using the same key as signed cookies would be verified and serialization would then fail due the message still be encrypted.
* | | Merge pull request #29246 from nihemak/fix-docs-take-firstMatthew Draper2017-05-271-3/+3
|\ \ \ | | | | | | | | [ci skip]fix wrong variable name in docs