| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|\
| |
| | |
remove dead file_watcher code
|
| | |
|
|/ |
|
|\
| |
| | |
Tables existence check query is executed in large quantities
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When Rails starts, tables existence check query is executed
number of models.
In case of mysql,
SHOW TABLES LIKE 'table1';
SHOW TABLES LIKE 'table2';
SHOW TABLES LIKE 'table3';
...
SHOW TABLES LIKE 'table999';
Add process to get the names of all tables by one query.
|
|\ \
| |/
|/|
| | |
Closes #16422
|
|/ |
|
| |
|
|\
| |
| | |
Fix in has_secure_password for passwords containing only spaces.
|
| | |
|
|\ \
| | |
| | | |
Remove ActionController::RaiseActionExceptions.
|
|/ /
| |
| |
| |
| | |
The latest modification to the code was done in https://github.com/rails/rails/commit/5e3517ea. In Rails 3.2,
`ActionController#rescue_action` was deprecated and `rescue_action_without_handler` is no longer being used.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently when we call id_was and we have a custom primary key name
Active Record will return the current value of the primary key. This
make impossible to correctly do an update operation if you change the
id.
Fixes #16413
|
| |
| |
| |
| |
| | |
See
https://github.com/rails/turbolinks/commit/153f1b0f04c718442cfd73365a2778dfe1a1c5c7
|
| |
| |
| |
| | |
Fixes #16406
|
| |
| |
| |
| | |
this means we can meaningfully override methods in the subclass
|
| | |
|
|/
|
|
| |
So this trick is not needed to be documented anymore.
|
|\
| |
| | |
Fixed #select form builder helper to support block without html output
|
| | |
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Add an after_bundle callback in Rails templates
Conflicts:
railties/CHANGELOG.md
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
The template runs before the generation of binstubs – this does not
allow to write one, that makes an initial commit to version control.
It is solvable by adding an after_bundle callback.
|
|\ \ \
| | | |
| | | | |
purge database before loading schema, take 2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The rake tasks and the `DatabaseTakss` adapter classes used to
assume a configuration at some places. This forced the rake
tasks to establish a specific connection before calling into
`load_schema`.
After #15394 this started to cause issues because it could
`purge` the wrong database before loading the schema.
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
morgoth/fix-automatic-maintaining-test-schema-for-sql-format""
This reverts commit 5c87b5c5248154cf8aa76cce9a24a88769de022d.
|
| | |
| | |
| | |
| | | |
if we access the instance, we can free up lots of codes
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
especially if you're just going to add a call two lines down that
populates the cache. common.
|
|\ \ \
| | | |
| | | | |
Clarify Transaction responsibilities by breaking unneeded inheritance hierarchy.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Transaction class doesnt need to encapsulate the transaction state using
inheritance.
This removes all Transaction subclasses, and let the Transaction object
controls different actions based on its own state. Basically the only
actions would behave differently are `being`,`commit`,`rollback` as they
could act in a savepoint or in a real transaction.
|
| | | | |
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | | |
Fix digest ETAG test.
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
After
https://github.com/rack/rack/commit/12528d4567d8e6c1c7e9422fee6cd8b43c4389bf
ETag will include a `W/` before the digest.
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
Moved #create! method from Validations to Persistence module
|
| | |_|/
| |/| | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Also keep the hook as other tools may rely on it,
we just don't do anything by default on Rails.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The method has been removed in 09206716f8695f6b8467f15c1befa5a4c3c10978
(PR #16074), but the delegation was apparently missed, and one instance
of the method was added back with the addition of OID::Xml in
336be2bdf7dfa1b31879d0ab27e5f3101b351923 (PR #16072), so we can safely
rm both.
|
|/ / / |
|
| | |
| | |
| | |
| | |
| | | |
we know that this call only wants the path returned, so lets call a
method that returns the path.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
eileencodes/dont-delegate-chain-to-through-association
Don't delegate Reflection#chain to ThroughAssociation
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
We shouldn't be delegating chain to ThroughAssociation since the
only place that needs to call it is `target_scope`. Instead we
can call `reflecion.chain`.
|
|\ \ \
| | | |
| | | | |
Update itself.rb [ci skip]
|
|/ / / |
|