| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
Replace therubyracer with mini_racer
|
|/ |
|
| |
|
|
|
|
|
| |
The assert_same above obviously guarantees this will pass, but this
seems less likely to be deleted just because the implementation changed.
|
|\
| |
| |
| | |
Fix association with extension issues
|
| |
| |
| |
| |
| | |
As @matthewd's suggestion, if `klass` has no default scope, it will more
faster.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Some third party modules expects that association returns same proxy
object each time (e.g. for stubbing collection methods:
https://github.com/rspec/rspec-rails/issues/1817).
So I decided that cache the proxy object and reset scope in the proxy
object each time.
Related context: https://github.com/rails/rails/commit/c86a32d7451c5d901620ac58630460915292f88b#commitcomment-2784312
|
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the following issues.
* `association_scope` doesn't include `default_scope`. Should use `scope` instead.
* We can't use `method_missing` for customizing existing method.
* We can't use `relation_delegate_class` for sharing extensions. Should extend per association.
|
|\ \
| | |
| | |
| | |
| | | |
kamipo/deserialize_raw_value_from_database_for_json
Deserialize a raw value from the database in `changed_in_place?` for `AbstractJson`
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
`AbstractJson`
Structured type values sometimes caused representation problems (keys
sort order, spaces, etc). A raw value from the database should be
deserialized (normalized) to prevent the problems.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
kamipo/fix_uuid_column_with_null_true_and_default_nil
Fix UUID column with `null: true` and `default: nil`
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`quote_default_expression` can be passed nil value when `null: true` and
`default: nil`. This addressed in that case.
Fixes #29222.
|
|\ \ \ \
| | | | |
| | | | | |
Do not use UTF8 in test SecretsCommandTest#test_edit_secrets
|
| | | | | |
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Bump RuboCop to 0.49.1
|
| | |/ / /
| |/| | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
[ci skip]
|
| |/ / /
|/| | |
| | | |
| | | | |
[ci skip]
|
| | | |
| | | |
| | | |
| | | | |
[ci skip]
|
|/ / /
| | |
| | |
| | | |
[ci skip]
|
| | | |
|
| | | |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
bogdanvlviv/pass_params_filename_lineno_to_class_eval
Pass params __FILE__ and __LINE__ + 1 if class_eval with <<
|
| | | |
|
|\ \ \
| | | |
| | | | |
Check for jQuery ajax
|
| | | |
| | | |
| | | | |
jQuery slim version doesn't have ajax, so if a person include this version ajaxFilter raises error.
|
|\ \ \ \
| | | | |
| | | | | |
`rename_table` should rename primary key index name
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Formerly, `rename_table` only renamed primary key index name if the
column's data type was sequential (serial, etc in PostgreSQL). The
problem with that is tables whose primary keys had other data types
(e.g. UUID) maintained the old primary key name. So for example,
if the `cats` table has a UUID primary key, and the table is renamed to
`felines`, the primary key index will still be called `cats_pkey`
instead of `felines_pkey`. This PR corrects it.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
* Allow a default value to be declared for class_attribute
* Convert to using class_attribute default rather than explicit setter
* Removed instance_accessor option by mistake
* False is a valid default value
* Documentation
|
|\ \ \ \ \
| | | | | |
| | | | | | |
round before calculating exponent in number_to_human_converter
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
fixes #25664
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
secrets key file that is created by rails secrets:setup"
This reverts commit 75500476eb7e953a06cc64e67ecc57b13ef8cc99.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
[ci skip] Add elm option of webpack to generator description
|
| | |/ / / /
| |/| | | | |
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
List assert_{,no_}changes in the testing guide
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
This lists the `assert_changes` and `assert_no_changes` methods in the
guides. [ci skip]
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove a redundant test assertion
|
| |/ / / / / |
|
|/ / / / / |
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
kamipo/default_env_fall_back_to_default_env_when_rails_env_or_rack_env_is_empty_string
`DEFAULT_ENV` falls back to `default_env` when `RAILS_ENV` or `RACK_ENV` is an empty string
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
an empty string
Follow up of #27399.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
kamipo/deprecate_passing_arguments_with_block_to_count_and_sum
Deprecate passing arguments and block at the same time to `count` and `sum` in `ActiveRecord::Calculations`
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
in `ActiveRecord::Calculations`
`select`, `count`, and `sum` in `Relation` are also `Enumerable` method
that can be passed block. `select` with block already doesn't take
arguments since 4fc3366. This is follow up of that.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove a redundant test case of command_recorder_test
|
| | | | | | | |
|
|\ \ \ \ \ \ \
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
clupprich/remove-action-dispatch-callbacks-to-prepare-mention
Remove mentions of deprecated callbacks on ActionDispatch::Callbacks
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
ActionDispatch::Callbacks.to_prepare was removed in #27587
[ci skip]
|
|\ \ \ \ \ \ \ \
| | | | | | | | |
| | | | | | | | | |
Correctly set user_supplied_options when there is no whitespace in option specification
|