| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
use public Module#include instead of send :include [ci skip]
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reverting this as it's not the implementation that we would like it to be.
This is being used inside of ActiveSUpport::TimeZone[] and it's unaware
of the context in which to find the timezone period so the timezone found
changes depending on whether DST is in effect for the current period.
This means that `'2001-01-01'.in_time_zone(-9)` changes from winter/summer
even though it's the same date that we're trying to convert.
Since finding timezones by numeric offsets is a bit hit and miss we should
introduce a new API for finding them which supplies the date context in
which we want to search and we should probably also deprecate the finding
of timezones via the [] method, though this needs further discussion.
This reverts commit 2cc2fa3633edd96773023c6b09d07c7b9d9b841d.
|
|\
| |
| | |
Target Ruby 2.2.1 in gemspecs
|
|/
|
|
| |
This is a follow-up to #19257
|
|\
| |
| | |
Rails 5.0 needs ruby 2.2.1 or higher
|
|/
|
|
| |
Since there was a bug in 2.2.0, the minimum ruby requirement is 2.2.1. See https://github.com/rails/rails/commit/8ed0b89b
[skip ci]
|
|\
| |
| | |
Fix rollback of frozen records
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Doc fixes [ci skip]
|
|/ / |
|
|\ \
| | |
| | | |
Doc fix [ci skip]
|
|/ / |
|
|\ \
| | |
| | | |
update integration test example as is not output deprecation warning [ci skip]
|
|/ / |
|
|\ \
| | |
| | | |
[ci skip] Fix `AS` and `AR` to full name
|
|/ / |
|
|\ \
| | |
| | | |
Doc fix [ci skip]
|
| | | |
|
|\ \ \
| | | |
| | | | |
Fix documentation of url_for module [ci skip]
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- The request needs to be instance of ActionDispatch::Request or an
object that responds to host, optional_port, protocol and
symbolized_path_parameter.
- This documentation was correctly added in
https://github.com/rails/rails/commit/e3b3f416b57f5642ea25078485f7e9394ad04526
but was changed to
https://github.com/rails/rails/commit/e1ceae576e3911f3e6708b5d19a0e3ef63769eb7.
- Fixes #16160.
|
|\ \ \ \
| | |/ /
| |/| | |
Doc fix [ci skip]
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The filter was set on the pseudo-global TestAdapter but not restored to
its original value.
See e818f65770fe115ab1cc7fbacc0e7e94d92af6a4
|
|\ \ \ \
| | | | |
| | | | | |
Updated documentation of CollectionProxy#clear [ci skip]
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
- CollectionProxy#clear method calls delete_all so the SQL is directly
run into the database.
- So the updated_at column of the object on which its run is not
updated.
- Closes #17161
|
|\ \ \ \
| | | | |
| | | | | |
Run all our tests in random order
|
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 7025d7769dc53f0a3ffab8b537727ef3fee367fc.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 2f52f969885b2834198de0045748436a4651a94e.
Conflicts:
actionmailer/test/abstract_unit.rb
actionview/test/abstract_unit.rb
activemodel/test/cases/helper.rb
activerecord/test/cases/helper.rb
activesupport/test/abstract_unit.rb
railties/test/abstract_unit.rb
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Using a subclass to check the sequence name does not work in that case.
The sequence name will be calucalted based on the base class.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit ff18049ca6f27deb7e7f955478e1464f8d756332.
This broke the AR build for every adapter:
1) Error:
AssociationCallbacksTest#test_dont_add_if_before_callback_raises_exception:
Exception: You can't add a post
2) Failure:
QueryCacheTest#test_query_cache_doesnt_leak_cached_results_of_rolled_back_queries [/Users/senny/Projects/rails/activerecord/test/cases/query_cache_test.rb:235]:
Expected: 1
Actual: 0
I'm reverting to get the build green again.
|
| | | | | |
|
| |/ / /
|/| | |
| | | |
| | | | |
This entry now lives in the Action View's changelog ; refs 8a3bd089.
|
| | | |
| | | |
| | | |
| | | | |
prompted by #19221.
|
|\ \ \ \
| | | | |
| | | | | |
Fixed ActiveJob integration tests
|
| | | | | |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Closes #19227.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] Update documentation for Time#seconds_since_midnight
|
| |/ / / / |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`CallbackSequence#call` can only ever take one argument. Using `*args`
here produces unnecessary array allocations. Since it only ever takes
one argument we should use `arg` instead of `*args`.
|
| | | | | |
|
| | | | | |
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This way we can get the relative_url_root from the application without
setting another global value
|
|\ \ \ \
| | | | |
| | | | | |
[ci skip] Delete excess white in documentation
|
|/ / / / |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Travis is green. Let's keep it that way rather than let AJ
languish as a second-class citizen.
This reverts commit 2a6b3e14cff61639978a55f47aea9ff4c8e72758.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
davydovanton/doc-add-info-about-sanitize-to-highlight
[ci skip] Add information about sanitize option in TextHelper#highlight
|