| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Update guide to clarify that mailer fixtures are not created when
using the mailer generator.
|
|\
| |
| |
| |
| | |
eileencodes/force-encoding-to-original-string-encoding
Maintain original encoding from path
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When the path info is read from the socket it's encoded as ASCII 8BIT.
The unescape method changes the encoding to UTF8 but it should maintain
the encoding of the string that's passed in.
This causes parameters to be force encoded to UTF8 when we don't
actually know what the encoding of the parameter should be.
|
|\ \
| | |
| | |
| | |
| | | |
meinac/fix_ambigious_exception_message_of_select_query_method
Fix ambigious error message of select query method [ci skip]
|
| | | |
|
|\ \ \
| | | |
| | | | |
rake -T should load development env by default, not test
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Handle loops in the cause chain in Rescuable#rescue_with_handler
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Pass block in ActionController::Parameters#delete
|
| | |/ / /
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In order to fully support the same interface as `Hash#delete`, we need
to pass the block through to the underlying method, not just the key.
This used to work correctly, but it regressed when
`ActionController::Parameters` stopped inheriting from `Hash` in 5.0.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Don't eager loading if unneeded for `FinderMethods#exists?`
|
| |/ / / /
| | | | |
| | | | |
| | | | | |
Fixes #29025.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Because we don't need to load tasks for DBs that we don't use for the current app.
Also, these Tasks classes load AR::Base in their class level, and so immediately kick :active_record on_load hooks.
This used to happen when we were loading tasks, not when we run a task.
|
|\ \ \ \ \
| |/ / / /
|/| | | | |
Fix a typo in guide [ci skip]
|
|/ / / / |
|
|\ \ \ \
| |_|_|/
|/| | |
| | | |
| | | | |
y-yagi/allow_to_receive_arbitrary_arguments_in_aggregated_results
Allow to receive arbitrary arguments in `aggregated_results`
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Argument was added to `aggregated_results` in minitest 5.10.2.
Ref: https://github.com/seattlerb/minitest/commit/c6ba2afd90473b76d289562edd24f7d7ca8484f9
|
|\ \ \ \
| | | | |
| | | | | |
Allow capybara minor releases
|
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
Capybara 2.14.0 was released. Loosen the tight constraint in the
generated Gemfile, so that Rails applications can take advantage of the
new version
|
|\ \ \ \
| | | | |
| | | | | |
Correct Autoloading and STI guide (issue #26994)
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Fix link to `assert_nothing_raised` doc [ci skip]
|
|/ / / /
| | | |
| | | |
| | | | |
The `assert_nothing_raised` was moved to `ActiveSupport::Testing::Assertions` in 3cece0b6574c496605df055a2ebf77177f5b6e7f.
|
|\ \ \ \
| | | | |
| | | | | |
Should escape meta characters in regexp
|
|/ / / / |
|
|\ \ \ \
| | | | |
| | | | | |
Fix `warning: ambiguous first argument`
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
```
% ARCONN=sqlite3 be ruby -w -Itest test/cases/quoting_test.rb
test/cases/quoting_test.rb:92: warning: ambiguous first argument; put parentheses or a space even after `/' operator
test/cases/quoting_test.rb:96: warning: ambiguous first argument; put parentheses or a space even after `/' operator
Using sqlite3
Run options: --seed 9495
.....................................
Finished in 0.046403s, 797.3622 runs/s, 1120.6172 assertions/s.
37 runs, 52 assertions, 0 failures, 0 errors, 0 skips
```
|
|\ \ \ \
| | | | |
| | | | | |
Clarify deprecation message for #quoted_id
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
In this case, it's the method definition that's more at fault, rather
than the current caller.
|
|\ \ \ \ \
| |_|_|/ /
|/| | | | |
Remove unused `DelegationTest#call_method`
|
|/ / / /
| | | |
| | | |
| | | | |
`DelegationTest#call_method` is no longer used since 9d79334a.
|
|\ \ \ \
| | | | |
| | | | | |
Don't pass `arel.engine` to `Arel::SelectManager.new`
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
The argument of `Arel::SelectManager.new` is `table`, not `engine`.
https://github.com/rails/arel/blob/v8.0.0/lib/arel/select_manager.rb#L10
|
|\ \ \ \
| | | | |
| | | | | |
Assorted delegate_missing_to doc fixes
|
| | | | |
| | | | |
| | | | | |
The method is named `delegate_missing_to`, not `delegate_to_missing`
|
| |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
* Fix rdoc code formatting — `tt`, not backticks
* Fix/simplify sentence grammar — should at least just be “and the like”, not “likes”, but this is just general tightening up.
* Add note that delegated methods must be public. Tested here: https://github.com/rails/rails/blob/7ff5ccae94ce2aff76b5f8a31a28e305a047d642/activesupport/test/core_ext/module_test.rb#L359-L365
* Simplify example code for delegate_missing_to. The example had complexity that wasn’t necessary for demonstrating `delegate_missing_to`. This gets rid of a bunch of cruft so the example is more obvious about what’s going on regarding the feature itself.
[ci skip]
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
kamipo/remove_useless_target_records_from_association
Remove useless `target_records_from_association`
|
| | | | |
| | | | |
| | | | |
| | | | | |
Since through association is always loaded by `preloader.preload`.
|
|\ \ \ \ \
| |_|/ / /
|/| | | | |
Use mysql2 0.4.6 to suport MySQL 8.0.1
|
| | | | |
| | | | |
| | | | |
| | | | | |
Follow up #28733 and brianmario/mysql2#840
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
It's causing a test to fail, and we're not yet sure what (if anything)
we should be doing differently. See rubygems/rubygems#1911.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Move `package.json` creation to `create_root_files`
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | | |
Since `package.json` is created in root directory, it is appropriate to
create it in `create_root_files`.
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Fix to use correct path with language on guide
|
| | | | | | |
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | | |
Use target language's document.yaml [ci skip]
|
|/ / / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Let me build guide with "ko" language,
Before:
- It try to use guides/source/documents.yaml
After:
- It try to use guides/source/ko/documents.yaml
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Should test against `Relation#bound_attributes`
|
|/ / / / /
| | | | |
| | | | |
| | | | | |
Since legacy `Relation#bind_values` was removed in b06f64c.
|