aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | 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
| * | | [ci skip]fix wrong variable name in docsMakoto Nihei2017-05-271-3/+3
| | | |
* | | | [ci skip]fix wrong variable name in docsMakoto Nihei2017-05-271-1/+1
|/ / /
* | | Merge pull request #29176 from bogdanvlviv/define-path-with__dir__Matthew Draper2017-05-263-4/+4
|\ \ \ | | | | | | | | Define path with __dir__
| * | | Define path with __dir__bogdanvlviv2017-05-233-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | ".. with __dir__ we can restore order in the Universe." - by @fxn Related to 5b8738c2df003a96f0e490c43559747618d10f5f
* | | | Merge pull request #29225 from maicher/masterRyuta Kamizono2017-05-251-0/+13
|\ \ \ \ | | | | | | | | | | Add ActiveRecord::Relation#or description to guides
| * | | | Add ActiveRecord::Relation#or description to guides [ci skip]Krzysztof Maicher2017-05-251-0/+13
| | | | |
* | | | | Capitalize GmailJon Moss2017-05-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `gmail` --> `Gmail` [ci skip]
* | | | | [ci skip]fix wrong variable name in docsMakoto Nihei2017-05-251-1/+1
| | | | |
* | | | | Merge pull request #29169 from ffmike/api-guide-editRafael França2017-05-241-9/+11
|\ \ \ \ \ | | | | | | | | | | | | Update Rails API Application guide to match current code [ci skip]
| * | | | | Update Rails API Application guide to match current code [ci skip]Mike Gunderloy2017-05-211-9/+11
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Adjust list of middlewares loaded by default * Add routing middleware to list to match the list in the Rack guide * Adjust list of Controller modules loaded by default Plus fix one singular/plural mistake
* | | | | Update information on using Gmail when 2FA is in use [ci skip]Mike Gunderloy2017-05-241-1/+2
| |/ / / |/| | |
* | | | [ci skip]fix wrong method name in docswillnet2017-05-241-2/+2
| |/ / |/| |
* | | We always + 1 to __LINE__ when class_evaling with <<Akira Matsuda2017-05-221-1/+1
| | | | | | | | | | | | [ci skip]
* | | Merge pull request #29173 from ffmike/simplify-getting-startedRobin Dupret2017-05-211-12/+13
|\ \ \ | | | | | | | | Simplify handling of prerequisites in Getting Started guide [ci skip]
| * | | Simplify handling of prerequisites in Getting Started guide [ci skip]Mike Gunderloy2017-05-211-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Telling people about prerequisites, and then telling them a page later how to check and install those prerequisites, is confusing. This commit removes the list and just handles the software installation in one place. Fixes #28565
* | | | Merge pull request #29072 from ↵Robin Dupret2017-05-211-0/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | dixpac/dixpac/add_documentation_for_validate_and_callback_order_of_execution Improving docs for callbacks execution order [ci skip]
| * | | | Improving docs for callbacks execution order [ci skip]dixpac2017-05-211-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | When define callbacks latest definition on the same callback/method overwrites previous ones.
* | | | | Merge pull request #29170 from ffmike/remove-obsolete-guidesKasper Timm Hansen2017-05-212-246/+0
|\ \ \ \ \ | |_|/ / / |/| | | | Remove obsolete Guides source files [ci skip]
| * | | | Remove obsolete Guides source files [ci skip]Mike Gunderloy2017-05-212-246/+0
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | * Nested Model Forms guide is out of date, not linked from index, and material is covered in the Form Helpers guide. * Profiling guide was committed as an outline years ago and never actually written.
* / | | Fix broken external link in security guide.Mike Gunderloy2017-05-211-1/+1
|/ / /
* | | Fix typo in guidesKevin Kim2017-05-211-1/+1
| | |
* | | Update 'Rails on Rack' guide [ci skip]Mike Gunderloy2017-05-201-6/+11
| | | | | | | | | | | | | | | | | | * Adjust middlewares list to match current defaults * application.routes runs on application object, not Rails * Add explanation of Sprockets::Rails::QuietAssets
* | | Add :json type to auto_discovery_link_tagMike Gunderloy2017-05-202-2/+2
| | | | | | | | | | | | | | | This allows auto_discovery_link_tag to support the JSON Feed standard. See https://jsonfeed.org/version/1 for more information.
* | | Merge pull request #29020 from stevenchanin/masterJon Moss2017-05-181-0/+6
|\ \ \ | |_|/ |/| | [ci skip] explain async queue and rake tasks
| * | remove the phrase as wellSteven Chanin2017-05-091-1/+1
| | | | | | | | | | | | [ci skip]
| * | Capitalize RakeSteven Chanin2017-05-091-2/+2
| | |
| * | [ci skip] explain async queue and rake tasksSteven Chanin2017-05-091-0/+6
| | | | | | | | | | | | [ci skip]
* | | explain why guide translations need a fork [ci skip]Xavier Noria2017-05-141-3/+4
| | |
* | | Clarify documentation for system test argumentseileencodes2017-05-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Previously this implied that system tests provided other non-headless drivers when Selenium is the only driver that uses `:using`, `:screen_size` or `:options` arguments. This change clarifies that Selenium is the only non-headless driver.
* | | Use a more realistic use-case for system test generatoreileencodes2017-05-141-5/+5
| |/ |/| | | | | | | | | | | | | It's more likely you'll generate a test for testing users than a users creates test. This is a better example of a real world test. Additionally the users create view is unlikely to have the text "UserCreates" since that is likely generated as well. This is now an example of visiting the users index.
* | [ci skip] Mailer fixtures in Testing guide.Cody Boyko2017-05-121-1/+1
| | | | | | | | | | Update guide to clarify that mailer fixtures are not created when using the mailer generator.
* | Fix a typo in guide [ci skip]Koichi ITO2017-05-111-1/+1
|/
* Merge pull request #28240 from kreintjes/fix/autoloading-sti-guideMatthew Draper2017-05-091-9/+8
|\ | | | | Correct Autoloading and STI guide (issue #26994)
| * Correct Autoloading and STI guide (issue #26994)Kevin Reintjes2017-04-061-9/+8
| |
* | Fix link to `assert_nothing_raised` doc [ci skip]yuuji.yaginuma2017-05-081-1/+1
| | | | | | | | The `assert_nothing_raised` was moved to `ActiveSupport::Testing::Assertions` in 3cece0b6574c496605df055a2ebf77177f5b6e7f.
* | Should escape meta characters in regexpRyuta Kamizono2017-05-071-1/+1
| |
* | Rails secrets is not built on but inspired by SekretsBart2017-05-021-1/+1
| | | | | | Put wording in line with http://weblog.rubyonrails.org/2017/4/27/Rails-5-1-final/
* | Fix note about `secrets.yml` [ci skip]yuuji.yaginuma2017-04-301-3/+3
| | | | | | | | The `secrets` method is in `Application` class, not `Configuration` class.