| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Remove 'if exists' from drop table statement then use `table_exists?`
|
|/
|
|
|
| |
Since 'drop table if exists' statement does not always work with
some databases such as Oracle.
|
|
|
|
|
|
|
|
|
|
| |
Is this a thing we want?
Note current duplication between the `assert_select` section here, and
the corresponding release note entry... does this detail *move* from
there to here?
[ci skip]
|
|\
| |
| |
| |
| | |
eileencodes/refactor-add_constraints-complex-loop-conditional
Refactor add_constraints complex loop conditional
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This breaks the two branches of the `if reflection.last` and `else`
to clearer see where the two methods can be refactored. Eventually
we hope to remove the need for these separated methods altogether.
Move the first branch outside the loop
This code doesn't need to be in the loop because it it always affects
the last chain. `get_bind_values` and `add_constraints` must match
in this context because `get_bind_values` is the caching of `add_constraints`
Use each_cons to remove need for `chain[i + 1]`
The `chain[i + 1]` is confusing because it's not immediately obvious
what it's trying to achieve. The use of `each_cons` makes it clear
we need to get the `next_reflection`.
|
|\ \
| | |
| | | |
Shorten ActionView::Base doc summary line. [ci skip]
|
| | | |
|
|\| |
| | |
| | | |
Clarify Rails uses erubis not stdlin ERB. [ci skip]
|
|/ / |
|
|\ \
| | |
| | | |
Remove '*' which doesn't belong [ci skip]
|
|/ /
| |
| | |
I found an * does not work in Markdown notation. It should be removed.
|
|\ \
| | |
| | | |
Add and Remove string/strip require
|
|/ /
| |
| |
| |
| |
| |
| | |
Method .strip_heredoc is defined in
active_support/core_ext/string/strip.rb so we need to require it.
[fixes #16677]
|
|\ \
| | |
| | | |
[ActiveJob] TestCase
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We're seeing too many failures to believe otherwise.
This reverts commits bc116a55ca3dd9f63a1f1ca7ade3623885adcc57,
cbde413df3839e06dd14e3c220e9800af91e83ab,
bf0a67931dd8e58f6f878b9510ae818ae1f29a3a, and
2440933fe2c27b27bcafcd9019717800db2641aa.
|
|\ \ \
| | | |
| | | | |
ActiveJob: Implemented enqueue_at for QueueClassic
|
|/ / / |
|
|\ \ \
| |/ /
|/| | |
[ci skip] Fix a typo in the doc of MessageDelivery
|
|/ / |
|
|\ \
| | |
| | |
| | |
| | |
| | | |
tgxworld/dont_swallow_error_when_identifying_constant_from_test_name
Do not swallow exception on NameError within constant.
|
| | |
| | |
| | |
| | | |
Fixes https://github.com/rails/rails/issues/9933.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Now we keep only the common code and move the specific code to the gems
|
| |/
|/| |
|
| | |
|
| | |
|
|/ |
|
|\
| |
| | |
use self instead of #read_attribute
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Fix for configuring rails guide [ci skip]
|
|/ /
| |
| |
| | |
`ActiveSupport::Logger` has no concept like auto flushing since it has no userspace buffering.
It's a remnant of `ActiveSupport::BufferedLogger` epoch which was since removed from rails.
|
| | |
|
|\ \
| | |
| | | |
Allow polymorphic routes with nil when a route can still be drawn
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Suppose you have two resources routed in the following manner:
```ruby
resources :blogs do
resources :posts
end
resources :posts
```
When using polymorphic resource routing like `url_for([@blog, @post])`, and `@blog` is `nil` Rails should still try to match the route to the top-level posts resource.
Fixes #16754
|
| | | |
|
|\ \ \
| |/ /
|/| | |
Clarify that /console is an optional feature
|
|/ /
| |
| |
| | |
(/console is not mounted by default with web-console 2.0.)
|
| | |
|
|\ \
| | |
| | | |
[ActionMailer] Rename test/test_test to test/test_case_test
|
| | | |
|
|\ \ \
| | | |
| | | | |
[ci skip] add line about text layout
|
| |/ / |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Sets the connection collation to the database collation configured
in database.yml. Otherwise, `SET NAMES utf8mb4` will use the default
collation for that charset (utf8mb4_general_ci) when you may have chosen
a different collation, like utf8mb4_unicode_ci.
This only applies to literal string comparisons, not column values, so
it is unlikely to affect you.
|
|/ /
| |
| |
| | |
so this assertion causes random test fail
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When we are loading a component and we want to know its version, we are
actually not speaking about the constant but the library itself.
[ci skip]
[Godfrey Chan & Xavier Noria]
|