| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Reference #17453
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
The internal tests that (incorrectly) relied on this were already fixed in
938d130. However, we cannot simply fix this bug because the guides prior to
b7b9e92 recommended a workaround that relies on this buggy behavior.
Reference #17453
|
| | |_|_|_|_|/
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
These are currently working "by accident" because `match_route` does not check
that the name is valid.
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Replace ActionDispatch::Head with Rack::Head.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix includes on association with a scope
|
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
on the joined assoiciation
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Move test that depends on ActiveRecord
|
| |/ / / / / / / /
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | |
| | | | | | | | | |
This commit moves a test from `test/template` to `test/activerecord` since the
test depends on ActiveRecord.
This matches the documentation from [RUNNING_UNIT_TESTS](https://github.com/rails/rails/blob/f28d1ddd507174ac233b773cc4f35c3c05ad32e7/actionview/RUNNING_UNIT_TESTS.rdoc):
> Test cases in the test/activerecord/ directory depend on having activerecord and sqlite3 installed.
> If Active Record is not in actionview/../activerecord directory, or the sqlite3 rubygem is not installed, these tests are skipped.
> Other tests are runnable from a fresh copy of actionview without any configuration.
---
More details about this commit.
All the tests starting with `require 'active_record_unit'` are already
inside `test/activerecord`, except for the one test this commit moves.
If you don't have `active_record` on your machine, the following command
currently fails on master:
```bash
```
|
|\ \ \ \ \ \ \ \ \
| | | | | | | | | |
| | | | | | | | | | |
Fix wrong path in comments about stylesheets
|
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | |
| | | | | | | | | | |
I put the wrong path in my last PR by accident. Fixed here. Related to #17742
|
|\| | | | | | | | |
| |_|_|_|/ / / / /
|/| | | | | | | | |
Change 'of plugins' syntax
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Currently, the docs uses a syntax that is unclear and not general
American English. I've switched it to be clearer wording. Not a big
fix, but may be helpful.
|
| |/ / / / / /
|/| | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
[ci skip]
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
[ci skip] Fix class name of middleware.
|
| | | | | | | | |
|
|\ \ \ \ \ \ \ \
| |_|_|_|_|_|/ /
|/| | | | | | | |
Add a test for reflection keys as Strings, fixes #16928
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
See also PR: #17610
|
|\ \ \ \ \ \ \
| |_|_|/ / / /
|/| | | | | | |
Specified beta branch for web-console gem
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Reference #17453
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Reference #17453
[Godfrey Chan, Washington Luiz]
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Anchor should not be appended when set to nil/false.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Fixes https://github.com/rails/rails/issues/17714.
|
|\ \ \ \ \ \ \
| |_|/ / / / /
|/| | | | | | |
[ci skip] Fix comment of ActionDispatch::Callbacks
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
cc ddce3dd
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
cc #17719
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Fix explanation for ActionDispatch::Callbacks. [ci skip]
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
ActionDispatch::Callbacks dose not run the prepare callbacks,
so change with comment on ActionDispatch::Callbacks.
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Fixes 16928, improve reflections public API doc [ci skip]
|
| | | | | | | |
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`.reflections` public API changed to return a String instead of a Symbol
as keys.
see commit 1f31488499111fdfce79d8dc1cc8fb008f7cdb25 and 6259e4e2dcca9a79f22f96658c33efe81936bc0d
[fixes #16928]
[fixes #17610]
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
For some reason changing `.find` to `.unscoped.find` in
https://github.com/rails/rails/commit/f766abd4cf3eb75469d3646cfb6d85e668c619f3
caused `scoping` to leak in some tests when run in isolation (looks like
a concurrency issue?). `relation_scoping_test.rb` is a case that failed.
From what I can tell it should not be possible, but changing to the
block form fixes it. There is a deeper issue that I can't seem to find.
/cc @senny
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Also checked to make sure this does not affect foreign key constraints.
(It doesn't).
Fixes #12856
Closes #14088
|
| | | | | |
| | | | | |
| | | | | | |
They were introduced in 23b6def; the serial stuff has been removed since a5d80f8
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Fixing wrong link in 'Ruby on Rails Security Guide' [ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The URL
http://www.h-online.com/security/Symantec-reports-first-active-attack-on-a-DSL-router--/news/102352
points to an article titled 'The H is closing down'. The good one is:
http://www.h-online.com/security/news/item/Symantec-reports-first-active-attack-on-a-DSL-router-735883.html
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] correct example output and filename in pg guide
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
We can't change the signature without a deprecation cycle.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Move 'the' outside of SQLite and Bundler link text [ci skip]
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix select_tag generating tag when set to false.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Fixes https://github.com/rails/rails/issues/17701.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Prior to this patch you'd end up with an error like:
```
ActiveRecord::RecordNotFound: Couldn't find <Model> with 'id'=<id> [WHERE (<default_scope condition>)]
```
|
|\ \ \ \ \ \
| |_|/ / / /
|/| | | | | |
Update grammar in Getting Started Guide [ci skip]
|
|/ / / / / |
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Wrap code snippets in +, not backticks, in sdoc [ci skip]
|