| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
[ci skip]
|
|\
| |
| | |
Add first draft of release notes for Rails 5.1 :tada:
|
| | |
|
| | |
|
| |
| |
| |
| | |
[ci skip]
|
|\ \
| | |
| | |
| | |
| | | |
bogdanvlviv/remove-ability-update-locking_column-value
Remove ability update locking_column value
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Fix guide incorrectly refers to public/assets/images [ci ckip]
|
| | | |
|
|/ /
| |
| |
| |
| |
| | |
This was added in c24c885209ac2334dc6f798c394a821ee270bec6, removed in
b89ffe7f0047eb614e42232a21201b317b880755, and then (unintentionally?)
reintroduced in 2d7ae1b08ee2a10b12cbfeef3a6cc6da55b57df6.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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]
|
| |
| |
| |
| | |
[ci skip]
|
| |
| |
| |
| |
| |
| | |
Lots of grammar, etc fixes.
[ci skip]
|
| |
| |
| |
| |
| |
| | |
Lots of grammar, etc fixes.
[ci skip]
|
| | |
|
|\ \
| | |
| | | |
Add link to API documentation [ci skip]
|
| | |
| | |
| | | |
Add a link to http://api.rubyonrails.org/classes/ActionController.html in the beginning of an article.
|
| | |
| | |
| | |
| | | |
[ci skip]
|
| | |
| | |
| | |
| | |
| | | |
Small change to improve the readability in section 2.3 of the testing
guide.
|
| | |
| | |
| | |
| | | |
See the rationale in the comment found in the patch.
|
|\ \ \
| | | |
| | | | |
Improve foreign key description in guides
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
That option was removed in 0a683085b1db435b7371350b2799a0f248cd717a
|
|\ \ \ \
| | | | |
| | | | | |
Avoid running system tests by default
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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.
|
|\ \ \ \
| |/ / /
|/| | | |
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
|\ \ \ \
| | | | |
| | | | | |
Fx system test example [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Since test suffix is automatically granted, it is not necessary to
specify it in generator.
Also, updated the generated file to contents actually generated.
|
| | | | | |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
passing unique parameter to belongs_to wrongly
|
| | | | |
| | | | |
| | | | | |
passing `unique` parameter to belongs_to not right,
|
|/ / / /
| | | |
| | | | |
[ci skip]
|
| |_|/
|/| | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | |
| | |
| | |
| | | |
Follow up to ea9566f6cd1b4d3f0d8a5f03283b49423b89044d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
As the specified command is `rails g system_test articles`, the generated class name
is `ArticlesTest`, not `UsersTest`
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
There were some grammar issues and incorrect information in the system
tests documentation.
|
| | |
| | |
| | |
| | |
| | |
| | | |
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 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
|