| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | | |
Master based applications should be pointing to master
|
|\ \ \ \
| | | | |
| | | | | |
Address warning: ambiguous first argument
|
|/ / / /
| | | |
| | | |
| | | | |
after `/' operator`
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
close it (#26473)
* activerecord/mysql2: Avoid setting @connection to nil, just close it
Backport of https://github.com/rails/rails/pull/26434
* Add a CHANGELOG entry
|
|\ \ \ \
| | | | |
| | | | | |
Disconnects all connections in the pool before forking.
|
| | | | |
| | | | |
| | | | |
| | | | | |
See discussion in https://github.com/puma/puma/issues/1001
|
|\ \ \ \ \
| | | | | |
| | | | | | |
remove duplicated fixture set names
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
If using namespaced fixtures, get following Ruby warning.
```
activerecord/lib/active_record/fixtures.rb:922: warning: method redefined; discarding old admin_foos
activerecord/lib/active_record/fixtures.rb:922: warning: previous definition of admin_foos was here
```
This is happening because of the multiple set the same path when setting the
fixture name. Fix to remove the duplicate path.
|
|\ \ \ \ \ \
| |_|_|_|_|/
|/| | | | | |
fixed guide to add correct documentation for partial render 'as' option
|
|/ / / / / |
|
| | | | |
| | | | |
| | | | |
| | | | | |
Lacks some proper creds to the homies who went the... distance ;)
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
kamipo/remove_useless_test_string_with_crazy_column
Remove useless `test_string_with_crazy_column`
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Passing `FakeColumn` was removed at #15336 therefore
`test_string_with_crazy_column` is duplicated with
`test_quote_string_no_column`.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
activerecord/mysql2: Avoid setting @connection to nil, just close it
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
By doing `@connection = nil` that means that we need nil checks before it
is used anywhere, but we weren't doing those checks. Instead, we get a
NoMethodError after using a connection after it fails to reconnect.
Neither of the other adapters set @connection to nil, just the mysql2
adapter. By just closing it, we avoid the need to check if we have a
connection object and it will produce an appropriate exception when used.
|
|\ \ \ \ \ \ \
| |_|_|_|_|_|/
|/| | | | | | |
Add tests for ActiveRecord::Enum#enum when suffix specified
|
| | |/ / / /
| |/| | | |
| | | | | |
| | | | | | |
Make name of attribute medium instead of normal
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove unused `require "thread"` in `test/cases/attribute_methods/read_test.rb`
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | | |
`Mutex` was removed at 8eb7561ac6e8f020ec09608532de310c6b0b8dcd.
|
|\ \ \ \ \ \
| |/ / / / /
|/| | | | | |
Remove duplicated `elsif` branch
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
The `elsif` branch is completely duplicated with `else` branch.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Use :git for specifying dependencies from github with https protocol
|
| | |_|/
| |/| |
| | | |
| | | |
| | | |
| | | | |
- This is required for bundler 1.13.0 because of which lot of specs are
failing on Travis CI.
- Similar to https://travis-ci.org/rails/rails/jobs/158905576#L559
|
|\ \ \ \
| | | | |
| | | | | |
use correct Gemfile in `bin/setup` test
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Currently, `bin/setup` test uses Gemfile of Rails. But this Gemfile is not a
file to be used in Rails application.
Add a Gemfile to Rails application that is created for test, it has been
modified to use the Gemfile.
|
|\ \ \ \
| | | | |
| | | | | |
Do not mutate AC::TestRequest::DEFAULT_OPTIONS
|
| |/ / / |
|
|\ \ \ \
| |/ / /
|/| | | |
Remove outdated "#TODO: Fix for binds." comment [ci skip]
|
|/ / /
| | |
| | |
| | | |
This comment was added at eaf5486 but already implemented.
|
|\ \ \
| |/ /
|/| | |
Pass `set_inverse_instance` block to `sc.execute` for `SingularAssociation`
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Follow up to caa178c.
caa178c updated all code which sets inverse instances on newly loaded
associations to use block. But `SingularAssociation` was forgotten it.
|
|\ \ \
| | | |
| | | | |
Fix table name typos [ci skip]
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
update doc about default `cache_store` [ci skip]
|
| | | | |
| | | | |
| | | | |
| | | | | |
The default `cache_store` has changed in 8f0e0b6 to use `file_store`.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
call `.to_h` to avoid using deprecated method
|
| |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
`ActionController::Parameters#merge` call `HashWithIndifferentAccess#merge`.
In addition, it calls `HashWithIndifferentAccess#update` from
`HashWithIndifferentAccess#merge`, where it is called the `#to_hash` of argument.
But `ActionController::Parameters#to_hash` is deprecated, warning message is
displayed.
To avoid this, modify to convert object to `Hash`.
Fixes #26415
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Clarify expires_now documentation
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ci skip]
|
|\ \ \ \ \
| | | | | |
| | | | | | |
[ci skip] Simply formatting documents
|
| | | | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Revert " [ci skip] Remove duplicate example."
|
|/ / / / / / |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Remove duplicate example.
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | | |
Selectively add `li ul, li ol { margin:0 1.5em; }` to subColl as needed
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Chapters column, instead of leaking to other lists.
Before:
https://monosnap.com/file/CNIMXcqv3HuRrObTNYWYFis8I3G8PT
After:
https://monosnap.com/file/0IyEKEy9hcRCIx82etR8ikinCo3vNb
Chapters column remains as is: http://take.ms/M0BkF
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Remove the word "mongrel" from documents [ci skip]
|
|/ / / / / / / /
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Currently mongrel is not maintained.
And it couldn't be built with any Ruby versions that
supported by Rails.
It is reasonable to remove the word "mongrel" in order to avoid
confusion from newcomer.
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Fix Remaining Case-In-Assignment Statement Formatting
|