| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
assert_raise + assert_equal on the returned exception message work
just fine, there is no need for extra work, specially like this overly
complicated helper.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Just pass in the expected database as argument rather than "caching"
it in a hash and using the hash in the helper methods.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Also fix indent of test block.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
ActiveRecord#touch should accept multiple attributes
Conflicts:
activerecord/CHANGELOG.md
|
| |/ / / / / / |
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Cleaning up and adding tests for Session
|
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Adding tests for Session `destroy`, `update` and `delete` methods. No changes for code under test.
|
| | | | | | | | |
|
| | | | | | | | |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Refactor to a reusable method.
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
No need to check that each line contains an extra space, just matching
the space in the regexp is enough to ensure that.
|
|/ / / / / / / |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Added a warning about serializing data with JSON cookie jars [skip ci]
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | | |
Closes #14409
|
|\ \ \ \ \ \ \
| |/ / / / / /
|/| | | | | | |
Fix a typo to make clause plural [ci skip]
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Reorder conditional logic in link_to_if and link_to_unless
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
According to the best practice that "unless not" and "unless else"
is hard to follow logically the link_to_unless and link_to_if
were reversed.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add counter cache test for class_name
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
Backport test from #14410
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Previously, any of the connection checkouts could have failed, and this
test would pass.
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Track owning thread for connection pool
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
.. not a general timeout.
Now, if a thread checks out a connection then dies, we can immediately
recover that connection and re-use it.
This should alleviate the pool exhaustion discussed in #12867. More
importantly, it entirely avoids the potential issues of the reaper
attempting to check whether connections are still active: as long as the
owning thread is alive, the connection is its business alone.
As a no-op reap is now trivial (only entails checking a thread status
per connection), we can also perform one in-line any time we decide to
sleep for a connection.
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | | |
It wasn't doing anything beyond clearing the statement cache.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Add Public Api for Register New Extensions for Rake Notes
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
config/application.rb file
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
at config level
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
have an API for register it in the corresponding gems
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Fortisque/kevin/stream_error_in_main_thread_if_not_committed
re-raise error if error occurs before committing in streaming
|
| | |/ / / / /
| |/| | | | |
| | | | | | |
| | | | | | | |
update the tests, using an if-else
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Closes #14406.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Closes #14405.
This is a follow-up to 9e997e9039435617b6a844158f5437e97f6bc107 to restore
the documented behavior.
|
| | | | | | | |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
than assume SecureRandom is available
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
The method `shallow?` returns false if the parent resource is a singleton so
we need to check if we're not inside a nested scope before copying the :path
and :as options to their shallow equivalents.
Fixes #14388.
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Follow up to 024e5e31
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Extend fixture label replacement to allow string interpolation
|
|/ / / / / / /
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Allows fixtures to use their $LABEL as part of a string instead
of limiting use to the entire value.
mark:
first_name: $LABEL
username: $LABEL1973
email: $LABEL@$LABELmail.com
users(:mark).first_name # => mark
users(:mark).username # => mark1973
users(:mark).email # => mark@markmail.com
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Reword 5.6 strong parameters and private method stuff [ci skip]
|