aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
Commit message (Collapse)AuthorAgeFilesLines
* Improve Caching with Rails Guides [ci skip]James Baer2017-03-171-1/+15
| | | | | | | Adds the "Caching in Development" section to demonstrate usage of the dev:cache task in development mode. Also, makes a small grammatical correction in section 2.4.
* Fix resolve usage in the release notesRafael Mendonça França2017-03-171-1/+1
| | | | [ci skip]
* Merge pull request #28096 from prathamesh-sonpatki/5-1-release-notes-first-draftRafael França2017-03-171-0/+267
|\ | | | | Add first draft of release notes for Rails 5.1 :tada:
| * Add blurbs about each new feature [ci skip]Prathamesh Sonpatki2017-03-131-0/+158
| |
| * Add PR links for major features [ci skip]Prathamesh Sonpatki2017-03-031-0/+11
| |
| * Add first draft of release notes for Rails 5.1 :tada:Prathamesh Sonpatki2017-03-031-0/+98
| | | | | | | | [ci skip]
* | Merge pull request #28318 from ↵Rafael França2017-03-171-3/+0
|\ \ | | | | | | | | | | | | bogdanvlviv/remove-ability-update-locking_column-value Remove ability update locking_column value
| * | Remove ability update locking_column valuebogdanvlviv2017-03-161-3/+0
| | |
* | | Merge pull request #28421 from tangposmarvin/docs-assest-pipelineVipul A M2017-03-171-1/+1
|\ \ \ | |/ / |/| | Fix guide incorrectly refers to public/assets/images [ci ckip]
| * | Fix asset_pipeline docs incorrect image dir infomarvin2017-03-161-1/+1
| | |
* | | Remove unused `@txn` variableEugene Kenny2017-03-151-1/+0
|/ / | | | | | | | | | | This was added in c24c885209ac2334dc6f798c394a821ee270bec6, removed in b89ffe7f0047eb614e42232a21201b317b880755, and then (unintentionally?) reintroduced in 2d7ae1b08ee2a10b12cbfeef3a6cc6da55b57df6.
* | Remove obsolete warning about regular expressionPhilipe Fatio2017-03-141-3/+0
| | | | | | | | | | | | | | | | | | | | This warning became obsolete when the regular expression was changed to use `\z` instead of `\Z` in fce9c4e5e1ecb31cff2ca43a04fbe332816c3c45. "-1234\n" =~ /\A[+-]?\d+\Z/ => 0 "-1234\n" =~ /\A[+-]?\d+\z/ => nil [ci skip]
* | Fix weird documentation lineJon Moss2017-03-121-1/+1
| | | | | | | | [ci skip]
* | Second editing pass on "Active Model Basics" guideJon Moss2017-03-121-16/+18
| | | | | | | | | | | | Lots of grammar, etc fixes. [ci skip]
* | First editing pass on "Active Model Basics" guideJon Moss2017-03-121-11/+12
| | | | | | | | | | | | Lots of grammar, etc fixes. [ci skip]
* | Add link to mentioned API [ci skip] (#28392)Vipul A M2017-03-121-1/+1
| |
* | Merge pull request #27152 from tjai89/patch-5Vipul A M2017-03-121-1/+1
|\ \ | | | | | | Add link to API documentation [ci skip]
| * | Add link to API documentationKirill Zhuravlov2016-11-231-1/+1
| | | | | | | | | Add a link to http://api.rubyonrails.org/classes/ActionController.html in the beginning of an article.
* | | Fix typo in the security guidebogdanvlviv2017-03-121-2/+2
| | | | | | | | | | | | [ci skip]
* | | Improve readability of testing guide [ci skip]James Baer2017-03-101-1/+1
| | | | | | | | | | | | | | | Small change to improve the readability in section 2.3 of the testing guide.
* | | Merge pull request #28289 from maicher/masterVipul A M2017-03-071-2/+18
|\ \ \ | | | | | | | | Improve foreign key description in guides
| * | | Improve foreign key description in guides [ci skip]Krzysztof Maicher2017-03-061-2/+18
| | | |
* | | | Remove `:on` option that does ot exist [ci skip]yuuji.yaginuma2017-03-071-2/+2
| | | | | | | | | | | | | | | | That option was removed in 0a683085b1db435b7371350b2799a0f248cd717a
* | | | Merge pull request #28286 from robin850/skip-system-tests-by-defaultEileen M. Uchitelle2017-03-051-0/+3
|\ \ \ \ | | | | | | | | | | Avoid running system tests by default
| * | | | Avoid running system tests by defaultRobin Dupret2017-03-051-0/+3
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These tests may be expansive so let's only allow users to run them through `bin/rails test:system` or by passing a path to the `test` command. The same applies for `bin/rake test`. Refs #28109.
* | | | Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-03-041-1/+1
|\ \ \ \ | |/ / / |/| | |
| * | | Fix generated query in Retrieving specific data from multiple tables section ↵Vipul A M2017-03-041-1/+1
| | | | | | | | | | | | | | | | [ci skip]
* | | | Merge pull request #28284 from y-yagi/fix_system_test_exampleRobin Dupret2017-03-041-7/+9
|\ \ \ \ | | | | | | | | | | Fx system test example [ci skip]
| * | | | Fx system test example [ci skip]yuuji.yaginuma2017-03-041-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since test suffix is automatically granted, it is not necessary to specify it in generator. Also, updated the generated file to contents actually generated.
* | | | | Escapes and edits to configuring guide [ci skip] (#28280)Vipul A M2017-03-041-5/+5
| | | | |
* | | | | Merge pull request #28265 from 0oneo/association_guideRyuta Kamizono2017-03-041-1/+1
|\ \ \ \ \ | |/ / / / |/| | | | passing unique parameter to belongs_to wrongly
| * | | | passing unique parameter to belongs_to wrongly0oneo2017-03-031-1/+1
| | | | | | | | | | | | | | | passing `unique` parameter to belongs_to not right,
* | | | | Fix spellingJonathan Chen2017-03-031-1/+1
|/ / / / | | | | | | | | [ci skip]
* | | / Fix typo in Upgrading Ruby on Rails Guide [skip ci]Erol Fornoles2017-03-031-1/+1
| |_|/ |/| |
* | | fixed suspected typo in sample sql queryShay2017-03-021-1/+1
| | |
* | | Improve documentation for Testing Your Mailers [ci skip]James Baer2017-02-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current Basic Test Case example has the following assertion ``` assert_equal read_fixture('invite').join, email.body.to_s ``` email.body.to_s returns an empty string if both HTML and text templates exist for a given mailer. This commit adds a note to section 11.2.2 explaining this and also suggests using email.text_part.body.to_s and email.html_part.body.to_s as alternatives.
* | | Update i18n guide to cover :zero key support in pluralization [ci skip]Anne Johnson2017-02-261-2/+8
| | |
* | | Soft-deprecate the top-level HashWithIndifferentAccess classRobin Dupret2017-02-251-0/+19
| | | | | | | | | | | | | | | | | | | | | Since using a `ActiveSupport::Deprecation::DeprecatedConstantProxy` would prevent people from inheriting this class and extending it from the `ActiveSupport::HashWithIndifferentAccess` one would break the ancestors chain, that's the best option we have here.
* | | remove needless extension from system test example [ci skip]yuuji.yaginuma2017-02-221-1/+1
| | |
* | | [doc] Fix wrong class name in testing.mdCelso Fernandes2017-02-211-1/+1
| | | | | | | | | | | | As the specified command is `rails g system_test articles`, the generated class name is `ArticlesTest`, not `UsersTest`
* | | Tiny documentation edits [ci skip]Robin Dupret2017-02-211-16/+11
| | |
* | | Fix some grammar in docs [ci skip]kenta-s2017-02-211-3/+3
| | |
* | | Clean up documentationeileencodes2017-02-201-7/+7
| | | | | | | | | | | | | | | There were some grammar issues and incorrect information in the system tests documentation.
* | | Rename system_test_helper -> application_system_test_caseeileencodes2017-02-201-12/+12
| | | | | | | | | | | | | | | | | | This renames the system test helper file to be application system test case to match what the rest of Rails does. In the future we should consider changing the test_helper to match.
* | | Move and rename system testseileencodes2017-02-201-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Move system tests back into Action Pack * Rename `ActionSystemTest` to `ActionDispatch::SystemTestCase` * Remove private base module and only make file for public `SystemTestCase` class, name private module `SystemTesting` * Rename `ActionSystemTestCase` to `ApplicationSystemTestCase` * Update corresponding documentation and guides * Delete old `ActionSystemTest` files
* | | Update documentation and guideseileencodes2017-02-201-98/+36
| | | | | | | | | | | | | | | Update the documentation after rewriting a majority of the functionality for system testing.
* | | Add guides for system testingeileencodes2017-02-201-3/+251
| | | | | | | | | | | | | | | This adds the required guides for how to write and use system tests in your application.
* | | [ci skip] Update Guides to use macOS instead of Mac OS XVitali Tatarintev2017-02-205-9/+9
| | |
* | | Merge pull request #28058 from y-yagi/follow_up_to_27608Jon Moss2017-02-172-23/+1
|\ \ \ | | | | | | | | Remove deprecate passing string to `:if` and `:unless` conditional options [ci skip]
| * | | Remove deprecate passing string to `:if` and `:unless` conditional options ↵yuuji.yaginuma2017-02-182-23/+1
| | | | | | | | | | | | | | | | | | | | | | | | [ci skip] Follow up to #27608